Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001408/0.001408, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001443/0.001443, allocations: 163.1 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.233e-05, allocations: 6.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003464/0.003496, allocations: 2.02 MB / 301 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.004683, allocations: 0.5541 MB / 301.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.004828, allocations: 4 kB / 301.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.005019, allocations: 35.66 kB / 301.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.005152, allocations: 55.48 kB / 301.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.005372, allocations: 43.95 kB / 301.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.00571, allocations: 218.9 kB / 301.9 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.005882, allocations: 49.77 kB / 301.9 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.006052, allocations: 119.7 kB / 302 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.006182, allocations: 51.88 kB / 302.1 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.006229, allocations: 20 kB / 302.1 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.006266, allocations: 16 kB / 302.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.006315, allocations: 43.77 kB / 302.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.006402, allocations: 63.84 kB / 302.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.006713, allocations: 211.3 kB / 302.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006716, allocations: 0 / 302.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006717, allocations: 0 / 302.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.006729, allocations: 0 / 302.4 MB, free: 5.215 MB / 286.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.0007937/0.007522, allocations: 409.4 kB / 302.8 MB, free: 4.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.007563, allocations: 19.98 kB / 302.8 MB, free: 4.766 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.007617, allocations: 20.8 kB / 302.9 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.007935, allocations: 164.1 kB / 303 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.007951, allocations: 12.38 kB / 303 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.007999, allocations: 20.33 kB / 303.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.008353, allocations: 157.7 kB / 303.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.008373, allocations: 4.188 kB / 303.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.008391, allocations: 4.375 kB / 303.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.008401, allocations: 7.938 kB / 303.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.00866, allocations: 107.9 kB / 303.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.009557, allocations: 491 kB / 303.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.009818, allocations: 114.6 kB / 303.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.009912, allocations: 32.84 kB / 304 MB, free: 3.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.009932, allocations: 4 kB / 304 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.00997, allocations: 38.56 kB / 304 MB, free: 3.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.176e-06/0.009974, allocations: 4 kB / 304 MB, free: 3.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001561/0.01153, allocations: 0.6415 MB / 304.6 MB, free: 2.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.01158, allocations: 55.41 kB / 304.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.01173, allocations: 137.8 kB / 304.8 MB, free: 2.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.01175, allocations: 29.7 kB / 304.9 MB, free: 2.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.01185, allocations: 132.4 kB / 305 MB, free: 2.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.01192, allocations: 75.41 kB / 305.1 MB, free: 2.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.01198, allocations: 33.72 kB / 305.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01215, allocations: 322.8 kB / 305.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.01226, allocations: 51.91 kB / 305.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.01241, allocations: 75.34 kB / 305.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.01266, allocations: 131.3 kB / 305.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01266, allocations: 0 / 305.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004348/0.01309, allocations: 202.3 kB / 305.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01311, allocations: 8 kB / 305.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01311, allocations: 0 / 305.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.0133, allocations: 48.7 kB / 305.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.01346, allocations: 27.98 kB / 305.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.01488, allocations: 1.398 MB / 307.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/0.01498, allocations: 12.03 kB / 307.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01499, allocations: 4 kB / 307.4 MB, free: 15.92 MB / 302.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.0001478/0.01514, allocations: 137.7 kB / 307.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.01518, allocations: 15.95 kB / 307.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.01522, allocations: 21.09 kB / 307.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.01523, allocations: 4 kB / 307.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01523, allocations: 0 / 307.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01524, allocations: 4.062 kB / 307.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.01605, allocations: 0.4978 MB / 308 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01606, allocations: 7.984 kB / 308 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.01621, allocations: 23.98 kB / 308.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.01633, allocations: 36.78 kB / 308.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.01635, allocations: 4 kB / 308.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.01761, allocations: 1.343 MB / 309.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01762, allocations: 0 / 309.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.01817, allocations: 338.7 kB / 309.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01819, allocations: 11.94 kB / 309.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01821, allocations: 8 kB / 309.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01831, allocations: 3.938 kB / 309.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.01836, allocations: 24.09 kB / 309.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.01837, allocations: 4.141 kB / 309.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.01846, allocations: 103.2 kB / 309.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01846, allocations: 0 / 309.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.01877, allocations: 47.94 kB / 310 MB, free: 13.12 MB / 302.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.0001344/0.0189, allocations: 103.2 kB / 310.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.01943, allocations: 246.6 kB / 310.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01943, allocations: 0 / 310.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.01973, allocations: 186.6 kB / 310.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.02009, allocations: 37.11 kB / 310.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.02099, allocations: 436.6 kB / 311 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02113, allocations: 120.2 kB / 311.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.447e-05/0.02119, allocations: 13.48 kB / 311.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.02124, allocations: 20.44 kB / 311.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02124, allocations: 0 / 311.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Templates: time 0.005813/0.02705, allocations: 1.809 MB / 312.9 MB, free: 10.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.340100660920143]