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.0009318/0.0009318, allocations: 78.97 kB / 21.42 MB, free: 3.074 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.0009867/0.0009867, allocations: 152.8 kB / 24.81 MB, free: 8.895 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 1.012/1.012, allocations: 173.3 MB / 201.4 MB, free: 9.176 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.383e-06/1.383e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.981e-05, allocations: 6.312 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002366/0.002386, allocations: 2.125 MB / 270.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.003159, allocations: 0.5415 MB / 271.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.917e-05/0.003258, allocations: 7.938 kB / 271.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.003381, allocations: 31.66 kB / 271.1 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.003474, allocations: 55.48 kB / 271.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.003627, allocations: 55.86 kB / 271.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.003803, allocations: 207 kB / 271.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.003916, allocations: 45.78 kB / 271.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004021, allocations: 115.8 kB / 271.6 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.004111, allocations: 67.8 kB / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.004135, allocations: 16 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.004154, allocations: 16 kB / 271.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.00418, allocations: 35.84 kB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.004226, allocations: 67.89 kB / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.004372, allocations: 135.4 kB / 271.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004374, allocations: 0 / 271.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004375, allocations: 0 / 271.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004378, allocations: 4 kB / 271.9 MB, free: 2.641 MB / 250.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.0004321/0.004811, allocations: 499.8 kB / 272.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.004852, allocations: 16.91 kB / 272.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.004897, allocations: 32.8 kB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005052, allocations: 175.2 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.005066, allocations: 16.38 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.005091, allocations: 16.38 kB / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.005255, allocations: 130.4 kB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.005266, allocations: 192 / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.005277, allocations: 8.375 kB / 272.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.005283, allocations: 7.938 kB / 272.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.005349, allocations: 43.95 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.00585, allocations: 0.4909 MB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.005968, allocations: 86.98 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.005998, allocations: 23.67 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.006018, allocations: 7.984 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.00604, allocations: 41.33 kB / 273.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.006042, allocations: 4 kB / 273.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007087/0.00675, allocations: 0.5251 MB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.006782, allocations: 55.41 kB / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.006872, allocations: 196.7 kB / 274.2 MB, free: 80 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.006888, allocations: 33.7 kB / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.006963, allocations: 179.1 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.006999, allocations: 75.34 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.007044, allocations: 43.36 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.007173, allocations: 0.5001 MB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.007202, allocations: 15.98 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.007266, allocations: 82.03 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.843e-05/0.007364, allocations: 114 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007365, allocations: 0 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001915/0.007557, allocations: 176.9 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.007567, allocations: 4 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007572, allocations: 0 / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.007681, allocations: 39.67 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.007775, allocations: 35.97 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008815/0.008657, allocations: 1.819 MB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.008702, allocations: 4 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.008717, allocations: 11.98 kB / 277.4 MB, free: 12.75 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 7.92e-05/0.008796, allocations: 160.6 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.00882, allocations: 19.89 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.00884, allocations: 17.12 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008842, allocations: 3.938 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.008847, allocations: 8.031 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.008851, allocations: 4.219 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.009312, allocations: 488.5 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.009314, allocations: 0 / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.49e-05/0.009399, allocations: 27.98 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.009485, allocations: 31.61 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.009493, allocations: 4 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007762/0.01027, allocations: 1.784 MB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01027, allocations: 0 / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.01051, allocations: 317.9 kB / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.01052, allocations: 7.953 kB / 280.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.01053, allocations: 4 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.01058, allocations: 8.062 kB / 280.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.01061, allocations: 11.97 kB / 280.2 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01062, allocations: 8 kB / 280.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.992e-05/0.01069, allocations: 142.3 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01069, allocations: 0 / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.01091, allocations: 48 kB / 280.4 MB, free: 9.48 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 0.0001161/0.01103, allocations: 103.4 kB / 280.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.01134, allocations: 281.5 kB / 280.8 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01134, allocations: 0 / 280.8 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.0115, allocations: 237.4 kB / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01175, allocations: 16 kB / 281 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.01248, allocations: 452.2 kB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01253, allocations: 75.98 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.01258, allocations: 17.48 kB / 281.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.01267, allocations: 94.19 kB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01267, allocations: 0 / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of Templates: time 0.003984/0.01665, allocations: 2.004 MB / 283.7 MB, free: 6.16 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] 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","",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.754362849984318]