Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 51.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2646, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003514/0.2681, allocations: 2.14 MB / 426 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.2691, allocations: 0.5493 MB / 426.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2692, allocations: 4 kB / 426.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2694, allocations: 35.66 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2695, allocations: 51.55 kB / 426.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.2697, allocations: 51.89 kB / 426.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.27, allocations: 211 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2701, allocations: 53.77 kB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2703, allocations: 75.72 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2704, allocations: 83.67 kB / 427.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2704, allocations: 19.94 kB / 427.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.343e-05/0.2705, allocations: 20 kB / 427.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.2705, allocations: 39.91 kB / 427.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2706, allocations: 87.55 kB / 427.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.2709, allocations: 220.3 kB / 427.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2709, allocations: 0 / 427.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2709, allocations: 0 / 427.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2709, allocations: 0 / 427.5 MB, free: 11.05 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.0006835/0.2716, allocations: 401.5 kB / 427.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2716, allocations: 12.03 kB / 427.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.2717, allocations: 20.8 kB / 427.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.272, allocations: 166.2 kB / 428.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.272, allocations: 8.375 kB / 428.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2721, allocations: 20.38 kB / 428.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.2724, allocations: 149.9 kB / 428.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2724, allocations: 4 kB / 428.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.2724, allocations: 8 kB / 428.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2724, allocations: 4 kB / 428.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.2727, allocations: 115.7 kB / 428.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.2736, allocations: 0.5567 MB / 428.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.2738, allocations: 109.3 kB / 429 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.2739, allocations: 40.84 kB / 429.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.274, allocations: 4 kB / 429.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.274, allocations: 34.55 kB / 429.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.274, allocations: 3.938 kB / 429.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001495/0.2755, allocations: 0.6554 MB / 429.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.2755, allocations: 51.41 kB / 429.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2757, allocations: 162.2 kB / 430 MB, free: 8.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2757, allocations: 25.7 kB / 430 MB, free: 8.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.2758, allocations: 128.4 kB / 430.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.2759, allocations: 63.44 kB / 430.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.2759, allocations: 41.7 kB / 430.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2761, allocations: 330.8 kB / 430.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2762, allocations: 39.98 kB / 430.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.2763, allocations: 75.39 kB / 430.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.2766, allocations: 138.8 kB / 430.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2766, allocations: 0 / 430.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003849/0.2769, allocations: 206.2 kB / 431 MB, free: 7.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.277, allocations: 4 kB / 431 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.277, allocations: 4 kB / 431 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.2771, allocations: 40.91 kB / 431.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2773, allocations: 35.91 kB / 431.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2787, allocations: 1.424 MB / 432.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.2788, allocations: 11.97 kB / 432.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2788, allocations: 4 kB / 432.5 MB, free: 5.625 MB / 334.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.0001302/0.2789, allocations: 131.4 kB / 432.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.2789, allocations: 15.89 kB / 432.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.279, allocations: 33.11 kB / 432.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.279, allocations: 4 kB / 432.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.279, allocations: 0 / 432.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.279, allocations: 3.938 kB / 432.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.2799, allocations: 0.5508 MB / 433.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2799, allocations: 0 / 433.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.28, allocations: 39.92 kB / 433.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.2801, allocations: 28.84 kB / 433.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2801, allocations: 7.984 kB / 433.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2813, allocations: 1.374 MB / 434.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2813, allocations: 3.938 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.2818, allocations: 340.1 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.2819, allocations: 15.94 kB / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2819, allocations: 4 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.282, allocations: 11.92 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.282, allocations: 12.12 kB / 435.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.282, allocations: 11.97 kB / 435.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.358e-05/0.2821, allocations: 112.1 kB / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2821, allocations: 0 / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.2824, allocations: 48 kB / 435.3 MB, free: 2.688 MB / 334.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.0001268/0.2826, allocations: 103.2 kB / 435.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005203/0.2831, allocations: 246.6 kB / 435.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2831, allocations: 0 / 435.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.2834, allocations: 190.5 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2837, allocations: 34.86 kB / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.2847, allocations: 0.5211 MB / 436.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.285, allocations: 0.7281 MB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.2851, allocations: 19.44 kB / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2851, allocations: 0 / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Templates: time 0.005034/0.2901, allocations: 2.906 MB / 440 MB, free: 13.86 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.589876101119444]