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.002531/0.002531, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 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.003057/0.003057, allocations: 163.7 kB / 25.03 MB, free: 8.934 MB / 18.57 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.361/1.361, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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.904e-06/1.904e-06, allocations: 0 / 250.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.569e-05, allocations: 2.312 kB / 250.3 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003765/0.003801, allocations: 2.118 MB / 252.5 MB, free: 5.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.004961, allocations: 0.5734 MB / 253 MB, free: 5.125 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.005076, allocations: 7.938 kB / 253 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.005241, allocations: 31.72 kB / 253.1 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.005359, allocations: 51.48 kB / 253.1 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.005542, allocations: 55.86 kB / 253.2 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.005819, allocations: 207 kB / 253.4 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.005998, allocations: 53.77 kB / 253.4 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.006178, allocations: 119.7 kB / 253.6 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.00631, allocations: 55.86 kB / 253.6 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.006349, allocations: 20 kB / 253.6 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.006386, allocations: 16 kB / 253.6 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.006434, allocations: 35.84 kB / 253.7 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.006524, allocations: 67.83 kB / 253.7 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.006835, allocations: 219.2 kB / 254 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006838, allocations: 0 / 254 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006839, allocations: 0 / 254 MB, free: 4.203 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006844, allocations: 0 / 254 MB, free: 4.203 MB / 234.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.0008165/0.00766, allocations: 0.5072 MB / 254.5 MB, free: 3.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.007703, allocations: 11.98 kB / 254.5 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.00779, allocations: 36.8 kB / 254.5 MB, free: 3.613 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.008075, allocations: 172.2 kB / 254.7 MB, free: 3.418 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.008093, allocations: 8.375 kB / 254.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.008136, allocations: 20.33 kB / 254.7 MB, free: 3.391 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.008463, allocations: 149.8 kB / 254.9 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.008487, allocations: 16.16 kB / 254.9 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.008504, allocations: 4.375 kB / 254.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.008515, allocations: 7.938 kB / 254.9 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.00875, allocations: 95.89 kB / 255 MB, free: 3.117 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.009804, allocations: 0.5686 MB / 255.5 MB, free: 2.508 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.01007, allocations: 115.1 kB / 255.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.01017, allocations: 43.67 kB / 255.7 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.0102, allocations: 4 kB / 255.7 MB, free: 2.332 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01023, allocations: 45.31 kB / 255.7 MB, free: 2.277 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.01024, allocations: 0 / 255.7 MB, free: 2.277 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.001643/0.01188, allocations: 0.6668 MB / 256.4 MB, free: 1.547 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.01193, allocations: 55.41 kB / 256.5 MB, free: 1.48 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.0124, allocations: 205.9 kB / 256.7 MB, free: 1.262 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.01242, allocations: 29.7 kB / 256.7 MB, free: 1.227 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.01256, allocations: 187.2 kB / 256.9 MB, free: 1.039 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.01263, allocations: 67.44 kB / 256.9 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.01271, allocations: 43.36 kB / 257 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002856/0.01299, allocations: 0.504 MB / 257.5 MB, free: 416 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.0131, allocations: 43.92 kB / 257.5 MB, free: 372 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01325, allocations: 94.59 kB / 257.6 MB, free: 260 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.01351, allocations: 149.7 kB / 257.8 MB, free: 96 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01351, allocations: 4 kB / 257.8 MB, free: 92 kB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004524/0.01397, allocations: 209.4 kB / 258 MB, free: 15.87 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01398, allocations: 7.938 kB / 258 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01399, allocations: 4 kB / 258 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.01422, allocations: 51.41 kB / 258 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.01437, allocations: 27.98 kB / 258.1 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.01628, allocations: 1.936 MB / 260 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.01636, allocations: 8 kB / 260 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.01637, allocations: 4 kB / 260 MB, free: 13.71 MB / 250.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 0.0001711/0.01655, allocations: 180.5 kB / 260.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.01659, allocations: 23.91 kB / 260.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.01665, allocations: 17.11 kB / 260.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01665, allocations: 8.031 kB / 260.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01666, allocations: 0 / 260.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01666, allocations: 192 / 260.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.01764, allocations: 0.5975 MB / 260.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01764, allocations: 0 / 260.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.0178, allocations: 31.92 kB / 260.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.01796, allocations: 35.66 kB / 260.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.01798, allocations: 12 kB / 260.9 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.01974, allocations: 1.873 MB / 262.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01975, allocations: 0 / 262.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.02036, allocations: 399.2 kB / 263.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.02039, allocations: 7.953 kB / 263.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.02041, allocations: 7.938 kB / 263.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.02052, allocations: 8.062 kB / 263.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.02058, allocations: 15.97 kB / 263.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.02059, allocations: 4 kB / 263.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.02071, allocations: 147.2 kB / 263.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02071, allocations: 0 / 263.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.02105, allocations: 51.94 kB / 263.4 MB, free: 10.09 MB / 250.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 0.0001655/0.02121, allocations: 99.17 kB / 263.5 MB, free: 9.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.02213, allocations: 324.5 kB / 263.8 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02213, allocations: 0 / 263.8 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.0225, allocations: 268.6 kB / 264.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.02287, allocations: 23.92 kB / 264.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.02391, allocations: 455.8 kB / 264.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.02404, allocations: 116.2 kB / 264.7 MB, free: 8.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.0241, allocations: 13.5 kB / 264.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.02415, allocations: 20.48 kB / 264.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02415, allocations: 0 / 264.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of Templates: time 0.00625/0.0304, allocations: 1.844 MB / 266.6 MB, free: 6.871 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] 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.263190174009651]