Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 205.1 kB / 24.47 MB, free: 3.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 51.91 kB / 379 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2724, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003623/0.276, allocations: 2.031 MB / 434.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2771, allocations: 0.5454 MB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2772, allocations: 7.938 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2773, allocations: 35.66 kB / 434.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2775, allocations: 51.55 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.2776, allocations: 55.88 kB / 435 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.2779, allocations: 199.1 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.2781, allocations: 53.77 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2782, allocations: 79.72 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.2783, allocations: 83.62 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.2784, allocations: 20 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.098e-05/0.2784, allocations: 16 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.2785, allocations: 39.84 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.2785, allocations: 75.66 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.2788, allocations: 208.8 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2788, allocations: 7.922 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2788, allocations: 4 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.2788, allocations: 0 / 435.8 MB, free: 3.203 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.0006883/0.2795, allocations: 401.5 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2796, allocations: 12.03 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.2796, allocations: 16.84 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.2799, allocations: 170.2 kB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.2799, allocations: 20.14 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.28, allocations: 16.38 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.2803, allocations: 149.9 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2804, allocations: 11.98 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2804, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2804, allocations: 4 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.2806, allocations: 107.7 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.2815, allocations: 486.8 kB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.2817, allocations: 110.6 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.2818, allocations: 32.84 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2818, allocations: 8 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2819, allocations: 34.56 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2819, allocations: 0 / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001563/0.2834, allocations: 0.6459 MB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2835, allocations: 55.41 kB / 438.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2836, allocations: 145.7 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2836, allocations: 29.7 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.2837, allocations: 132.5 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.2838, allocations: 71.36 kB / 438.4 MB, free: 388 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.2838, allocations: 37.7 kB / 438.5 MB, free: 344 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.284, allocations: 322.8 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2841, allocations: 51.91 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2843, allocations: 71.41 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.2845, allocations: 131.4 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2845, allocations: 0 / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003963/0.2849, allocations: 202.2 kB / 439.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2849, allocations: 11.94 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2849, allocations: 0 / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.2851, allocations: 36.84 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2853, allocations: 39.97 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.2867, allocations: 1.405 MB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.2867, allocations: 11.97 kB / 440.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2868, allocations: 7.984 kB / 440.7 MB, free: 13.91 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.0001375/0.2869, allocations: 129.8 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2869, allocations: 11.95 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.287, allocations: 21.19 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.287, allocations: 7.984 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.287, allocations: 0 / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.287, allocations: 0 / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/0.2878, allocations: 0.4976 MB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2878, allocations: 4 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.288, allocations: 27.98 kB / 441.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.2881, allocations: 40.77 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2881, allocations: 4 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.2893, allocations: 1.343 MB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2893, allocations: 3.938 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.2898, allocations: 334.8 kB / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.2899, allocations: 16 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.2899, allocations: 15.94 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.29, allocations: 0 / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.29, allocations: 27.91 kB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.29, allocations: 0 / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.516e-05/0.2901, allocations: 106 kB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2901, allocations: 0 / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.2904, allocations: 48 kB / 443.4 MB, free: 11.11 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.0001221/0.2905, allocations: 99.23 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.2911, allocations: 245 kB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2911, allocations: 0 / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.2913, allocations: 186.5 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.2917, allocations: 19.98 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.2926, allocations: 0.5349 MB / 444.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2928, allocations: 120.2 kB / 444.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.2928, allocations: 15.44 kB / 444.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2928, allocations: 0 / 444.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Templates: time 0.005109/0.2979, allocations: 2.902 MB / 447.5 MB, free: 6.922 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/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_4.1.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.512182037986349]