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.001095/0.001095, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001235/0.001235, allocations: 168.7 kB / 24.91 MB, free: 9.16 MB / 18.57 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 0.946/0.946, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.854e-06/1.854e-06, allocations: 0 / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.406e-05, allocations: 2.312 kB / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002347/0.002361, allocations: 2.135 MB / 275.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.003137, allocations: 0.5724 MB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.003239, allocations: 11.94 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.003392, allocations: 39.64 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.003481, allocations: 51.44 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.003632, allocations: 47.94 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.003816, allocations: 215 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.003936, allocations: 54.38 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.004046, allocations: 119.7 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.004152, allocations: 63.8 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.004181, allocations: 20 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.0042, allocations: 16 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.004232, allocations: 39.83 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.00428, allocations: 55.91 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004449, allocations: 131.5 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004451, allocations: 3.984 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004452, allocations: 0 / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.004455, allocations: 0 / 277 MB, free: 13.76 MB / 266.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.0004223/0.004877, allocations: 380.1 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.004908, allocations: 8.031 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.00495, allocations: 24.92 kB / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.005128, allocations: 165.4 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.005143, allocations: 12.38 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.005173, allocations: 24.33 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.005334, allocations: 114.8 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.005346, allocations: 4.188 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.005361, allocations: 16.38 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.00537, allocations: 7.938 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.005434, allocations: 47.53 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.005892, allocations: 382.8 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.005995, allocations: 70.53 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.006024, allocations: 20.8 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.006037, allocations: 3.938 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.006059, allocations: 42.56 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.006061, allocations: 0 / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007839/0.006844, allocations: 0.5203 MB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.006874, allocations: 55.41 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.006952, allocations: 153.5 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.006968, allocations: 33.7 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.007016, allocations: 132.4 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.007046, allocations: 63.42 kB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.007088, allocations: 41.69 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.007164, allocations: 326.8 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.007185, allocations: 12 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.007236, allocations: 69.17 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.007316, allocations: 93.03 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007318, allocations: 0 / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001515/0.007469, allocations: 146.2 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.00748, allocations: 4 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.007486, allocations: 3.984 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.0076, allocations: 48.97 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.007688, allocations: 35.92 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/0.008354, allocations: 1.245 MB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.008398, allocations: 8 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.008408, allocations: 11.98 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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 6.754e-05/0.008476, allocations: 121.8 kB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.008498, allocations: 15.98 kB / 281.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.008517, allocations: 17.12 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.008518, allocations: 0 / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.008525, allocations: 11.88 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008527, allocations: 0 / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.008873, allocations: 373.2 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008874, allocations: 0 / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.008948, allocations: 31.92 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.539e-05/0.009013, allocations: 32.83 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.009022, allocations: 7.984 kB / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005486/0.009571, allocations: 1.221 MB / 283.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.009576, allocations: 3.938 kB / 283.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.009752, allocations: 232.3 kB / 283.3 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.009763, allocations: 19.83 kB / 283.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.009775, allocations: 4 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.354e-05/0.009818, allocations: 4 kB / 283.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.009845, allocations: 11.97 kB / 283.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.009853, allocations: 8 kB / 283.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.208e-05/0.009875, allocations: 28.83 kB / 283.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009875, allocations: 0 / 283.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.01004, allocations: 40 kB / 283.4 MB, free: 6.832 MB / 266.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.646e-05/0.01013, allocations: 88.39 kB / 283.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.01038, allocations: 211.2 kB / 283.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01038, allocations: 4 kB / 283.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.01049, allocations: 175.3 kB / 283.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.01066, allocations: 42.41 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.01131, allocations: 405 kB / 284.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.01135, allocations: 79.92 kB / 284.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.0114, allocations: 17.48 kB / 284.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.01146, allocations: 75.3 kB / 284.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01147, allocations: 0 / 284.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of Templates: time 0.003957/0.01542, allocations: 1.98 MB / 286.5 MB, free: 3.723 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7803300130181015]