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.001006/0.001006, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0009357/0.0009357, allocations: 165.1 kB / 25.33 MB, free: 9.066 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 0.8419/0.8419, allocations: 158.6 MB / 187.2 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 3.938 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.564e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00209/0.002106, allocations: 2.145 MB / 253.2 MB, free: 5.359 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007287/0.002834, allocations: 0.5774 MB / 253.7 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.002929, allocations: 4 kB / 253.8 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.003064, allocations: 35.66 kB / 253.8 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.003141, allocations: 59.48 kB / 253.8 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.003295, allocations: 43.95 kB / 253.9 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.003472, allocations: 218.9 kB / 254.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.003596, allocations: 49.7 kB / 254.2 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.003705, allocations: 119.7 kB / 254.3 MB, free: 4.254 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.003801, allocations: 55.86 kB / 254.3 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.003832, allocations: 16 kB / 254.3 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.17e-05/0.003853, allocations: 16 kB / 254.4 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.003882, allocations: 47.83 kB / 254.4 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.003932, allocations: 59.84 kB / 254.5 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004091, allocations: 135.5 kB / 254.6 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004093, allocations: 0 / 254.6 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004093, allocations: 0 / 254.6 MB, free: 3.93 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.004097, allocations: 0 / 254.6 MB, free: 3.93 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.000719/0.004816, allocations: 0.4959 MB / 255.1 MB, free: 3.398 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.004848, allocations: 11.98 kB / 255.1 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.004903, allocations: 44.78 kB / 255.1 MB, free: 3.344 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.005081, allocations: 172.2 kB / 255.3 MB, free: 3.148 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.005094, allocations: 8.375 kB / 255.3 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.005122, allocations: 24.33 kB / 255.3 MB, free: 3.117 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.005312, allocations: 134.5 kB / 255.5 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.00533, allocations: 4.172 kB / 255.5 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.005351, allocations: 4.375 kB / 255.5 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.005364, allocations: 7.938 kB / 255.5 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.005461, allocations: 55.95 kB / 255.5 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.00601, allocations: 0.5256 MB / 256.1 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.006147, allocations: 91.05 kB / 256.2 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.006185, allocations: 23.69 kB / 256.2 MB, free: 2.211 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.006199, allocations: 4 kB / 256.2 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.006219, allocations: 37.38 kB / 256.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.00622, allocations: 0 / 256.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.000805/0.007025, allocations: 0.5637 MB / 256.8 MB, free: 1.535 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.007051, allocations: 55.39 kB / 256.8 MB, free: 1.469 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.007144, allocations: 198.4 kB / 257 MB, free: 1.258 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007157, allocations: 33.7 kB / 257.1 MB, free: 1.219 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.00722, allocations: 183.1 kB / 257.2 MB, free: 1.035 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.007251, allocations: 63.44 kB / 257.3 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.007298, allocations: 51.25 kB / 257.4 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.007401, allocations: 0.4962 MB / 257.9 MB, free: 416 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.007444, allocations: 27.98 kB / 257.9 MB, free: 388 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.00751, allocations: 86.09 kB / 258 MB, free: 276 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.007628, allocations: 122 kB / 258.1 MB, free: 128 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007629, allocations: 0 / 258.1 MB, free: 128 kB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002143/0.007843, allocations: 181 kB / 258.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.007856, allocations: 8.125 kB / 258.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.007861, allocations: 4 kB / 258.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.007993, allocations: 35.66 kB / 258.3 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.008089, allocations: 35.92 kB / 258.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008435/0.008932, allocations: 1.85 MB / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.008978, allocations: 16.02 kB / 260.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.008987, allocations: 4 kB / 260.2 MB, free: 13.86 MB / 250.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 7.837e-05/0.009065, allocations: 168.5 kB / 260.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.009094, allocations: 27.84 kB / 260.4 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.009114, allocations: 13.12 kB / 260.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009116, allocations: 4 kB / 260.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.009119, allocations: 0 / 260.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009122, allocations: 3.984 kB / 260.4 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.009557, allocations: 0.5155 MB / 260.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009558, allocations: 0 / 260.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.009637, allocations: 23.98 kB / 261 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.1e-05/0.009708, allocations: 35.66 kB / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.009717, allocations: 0 / 261 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000923/0.01064, allocations: 1.807 MB / 262.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01064, allocations: 0 / 262.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.01089, allocations: 331.2 kB / 263.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.0109, allocations: 11.91 kB / 263.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.01091, allocations: 7.984 kB / 263.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.01096, allocations: 4 kB / 263.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01099, allocations: 19.91 kB / 263.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.011, allocations: 8 kB / 263.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.01105, allocations: 155.3 kB / 263.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01105, allocations: 0 / 263.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.01124, allocations: 44 kB / 263.4 MB, free: 10.48 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 6.921e-05/0.0113, allocations: 103.1 kB / 263.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.01161, allocations: 284 kB / 263.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01161, allocations: 0 / 263.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.01174, allocations: 245.5 kB / 264 MB, free: 9.809 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.01195, allocations: 31.73 kB / 264 MB, free: 9.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.01264, allocations: 430.7 kB / 264.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.01269, allocations: 75.98 kB / 264.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.01273, allocations: 13.48 kB / 264.5 MB, free: 9.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.01277, allocations: 16.5 kB / 264.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01277, allocations: 7.938 kB / 264.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of Templates: time 0.003779/0.01654, allocations: 1.926 MB / 266.5 MB, free: 7.285 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","",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.5524000278674066]