Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.81 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2661, allocations: 53.41 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00349/0.2696, allocations: 2.141 MB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2708, allocations: 0.5882 MB / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.2709, allocations: 7.938 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.2711, allocations: 31.66 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.2713, allocations: 55.55 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2715, allocations: 55.81 kB / 434.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2718, allocations: 199.2 kB / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2719, allocations: 56.83 kB / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.272, allocations: 83.66 kB / 434.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2722, allocations: 83.62 kB / 434.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.2722, allocations: 16 kB / 434.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.2723, allocations: 16 kB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.2723, allocations: 39.84 kB / 434.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2724, allocations: 91.59 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.2727, allocations: 212.8 kB / 434.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2727, allocations: 0 / 434.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2727, allocations: 3.938 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2727, allocations: 0 / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007/0.2734, allocations: 401.5 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2735, allocations: 8.031 kB / 435.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.2735, allocations: 54.73 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.2736, allocations: 16.84 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.2739, allocations: 170.1 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2739, allocations: 16.16 kB / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.2739, allocations: 28.31 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.2743, allocations: 149.7 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2743, allocations: 4 kB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2743, allocations: 8 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2743, allocations: 4 kB / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.2745, allocations: 107.7 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.2755, allocations: 0.5529 MB / 436.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.2757, allocations: 102.6 kB / 436.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.2758, allocations: 40.84 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2758, allocations: 0 / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2758, allocations: 34.56 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.2758, allocations: 7.938 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001536/0.2774, allocations: 0.6476 MB / 437.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2774, allocations: 51.41 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2776, allocations: 166.8 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2776, allocations: 29.64 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.2777, allocations: 128.4 kB / 437.5 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.2778, allocations: 71.41 kB / 437.6 MB, free: 48 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.2778, allocations: 37.7 kB / 437.6 MB, free: 4 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.278, allocations: 330.8 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2781, allocations: 39.98 kB / 438 MB, free: 15.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2782, allocations: 82.91 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2785, allocations: 138.7 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2785, allocations: 0 / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004314/0.2789, allocations: 210.2 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2789, allocations: 4 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2789, allocations: 4 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.2791, allocations: 40.83 kB / 438.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2793, allocations: 31.92 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.2807, allocations: 1.428 MB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.2808, allocations: 12.02 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2808, allocations: 8.062 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.2809, allocations: 125.8 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.281, allocations: 23.84 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.281, allocations: 17.12 kB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.281, allocations: 3.938 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.2811, allocations: 11.92 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2811, allocations: 0 / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.2819, allocations: 0.5506 MB / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2819, allocations: 0 / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2821, allocations: 35.91 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.2822, allocations: 28.84 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2822, allocations: 4 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.2835, allocations: 1.373 MB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2835, allocations: 0 / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.284, allocations: 346.8 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.2841, allocations: 7.984 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.2841, allocations: 8 kB / 442.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.2842, allocations: 0 / 442.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.2842, allocations: 23.97 kB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.2843, allocations: 4.062 kB / 442.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2844, allocations: 119.2 kB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 0 / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.2847, allocations: 51.94 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008737/0.2856, allocations: 0.8719 MB / 443.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.2861, allocations: 250.4 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2861, allocations: 0 / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.2864, allocations: 182.8 kB / 444 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.2868, allocations: 31.89 kB / 444 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.2898, allocations: 2.143 MB / 446.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.2901, allocations: 0.732 MB / 446.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.947e-05/0.2902, allocations: 17.48 kB / 446.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.2903, allocations: 47.42 kB / 446.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2903, allocations: 0 / 446.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/0.3331, allocations: 3.934 MB / 450.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.89, allocations: 4.062 kB / 450.9 MB, free: 2.344 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.426821741999447]