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.000816/0.000816, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003833/0.003833, allocations: 143.6 kB / 24.68 MB, free: 8.906 MB / 18.57 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 0.846/0.846, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.873e-06/1.873e-06, allocations: 0 / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.363e-05, allocations: 6.281 kB / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002388/0.002412, allocations: 2.024 MB / 321.7 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000702/0.003114, allocations: 0.5103 MB / 322.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003218, allocations: 11.94 kB / 322.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.003363, allocations: 35.66 kB / 322.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.003439, allocations: 47.5 kB / 322.3 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.003602, allocations: 55.86 kB / 322.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.00378, allocations: 218.9 kB / 322.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.003916, allocations: 49.77 kB / 322.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004019, allocations: 115.7 kB / 322.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.004109, allocations: 55.86 kB / 322.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.004139, allocations: 23.94 kB / 322.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.004159, allocations: 16 kB / 322.8 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.004188, allocations: 31.91 kB / 322.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.004237, allocations: 67.83 kB / 322.9 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.00443, allocations: 219.3 kB / 323.1 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004432, allocations: 0 / 323.1 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004433, allocations: 0 / 323.1 MB, free: 2.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004437, allocations: 0 / 323.1 MB, free: 2.234 MB / 282.7 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.0004691/0.004906, allocations: 400.8 kB / 323.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.00494, allocations: 16.92 kB / 323.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.00498, allocations: 20.8 kB / 323.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.00517, allocations: 165.5 kB / 323.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005182, allocations: 12.38 kB / 323.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.005212, allocations: 20.38 kB / 323.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.00543, allocations: 157.7 kB / 323.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.005444, allocations: 4.188 kB / 323.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.005459, allocations: 4.375 kB / 323.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.005467, allocations: 7.938 kB / 323.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.005615, allocations: 103.9 kB / 324 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.006169, allocations: 490.8 kB / 324.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.006326, allocations: 106.6 kB / 324.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.006378, allocations: 36.84 kB / 324.7 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.006395, allocations: 4 kB / 324.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.006414, allocations: 30.56 kB / 324.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.006416, allocations: 4 kB / 324.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009846/0.0074, allocations: 0.6467 MB / 325.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.007428, allocations: 55.41 kB / 325.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.007513, allocations: 141.8 kB / 325.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.007525, allocations: 25.7 kB / 325.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.007587, allocations: 136.4 kB / 325.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.00762, allocations: 67.44 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.007662, allocations: 37.7 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.007742, allocations: 326.8 kB / 326.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.007805, allocations: 43.92 kB / 326.2 MB, free: 15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.007882, allocations: 82.47 kB / 326.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.008024, allocations: 138.6 kB / 326.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008026, allocations: 4 kB / 326.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002287/0.008255, allocations: 198.4 kB / 326.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.008267, allocations: 4 kB / 326.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008273, allocations: 4 kB / 326.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.0084, allocations: 40.72 kB / 326.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.008502, allocations: 35.97 kB / 326.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.009579, allocations: 1.398 MB / 328 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.009621, allocations: 7.984 kB / 328.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.009631, allocations: 8 kB / 328.1 MB, free: 12.96 MB / 298.7 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 8.017e-05/0.009712, allocations: 133.7 kB / 328.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.009732, allocations: 15.91 kB / 328.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.009756, allocations: 17.12 kB / 328.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009758, allocations: 4 kB / 328.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.009761, allocations: 4.062 kB / 328.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009764, allocations: 3.984 kB / 328.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.01022, allocations: 0.489 MB / 328.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01023, allocations: 0 / 328.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.01031, allocations: 31.92 kB / 328.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.581e-05/0.01038, allocations: 40.77 kB / 328.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.01039, allocations: 0 / 328.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006652/0.01106, allocations: 1.355 MB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01106, allocations: 0 / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.01135, allocations: 336.1 kB / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.01136, allocations: 11.97 kB / 330.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.01137, allocations: 11.94 kB / 330.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.01142, allocations: 3.938 kB / 330.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.01146, allocations: 24.09 kB / 330.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01147, allocations: 0 / 330.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.01151, allocations: 105.8 kB / 330.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01151, allocations: 0 / 330.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.0117, allocations: 48 kB / 330.7 MB, free: 10.16 MB / 298.7 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 8.231e-05/0.01178, allocations: 95.19 kB / 330.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.0121, allocations: 258.5 kB / 331 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.0121, allocations: 0 / 331 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01223, allocations: 178.6 kB / 331.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01247, allocations: 34.25 kB / 331.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.01305, allocations: 466.6 kB / 331.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.01313, allocations: 120.2 kB / 331.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.01316, allocations: 16.5 kB / 331.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01316, allocations: 0 / 331.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of Templates: time 0.003324/0.01649, allocations: 2.9 MB / 334.7 MB, free: 6.035 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/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: 4.4983461163938046]