Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007679/0.0007679, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001803, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002466, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9616/0.9616, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07629/1.038, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.749e-06/1.148e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00218/0.002191, allocations: 2.186 MB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000611/0.002802, allocations: 0.5956 MB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.002883, allocations: 4 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.002959, allocations: 39.66 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.00303, allocations: 47.5 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.804e-05/0.003128, allocations: 51.88 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.003296, allocations: 215 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.003435, allocations: 46.44 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.003554, allocations: 131.7 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.003649, allocations: 51.88 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.003682, allocations: 27.94 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.003702, allocations: 16 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.003728, allocations: 23.94 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.003773, allocations: 55.88 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.003928, allocations: 123.5 kB / 248.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.003937, allocations: 0 / 248.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003938, allocations: 0 / 248.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.003947, allocations: 0 / 248.8 MB, free: 9.977 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.0004499/0.004397, allocations: 419.7 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.004427, allocations: 12.62 kB / 249.2 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.004469, allocations: 28.92 kB / 249.2 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.004663, allocations: 153.5 kB / 249.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.004678, allocations: 20.16 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.004707, allocations: 20.33 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.00487, allocations: 118.8 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.00488, allocations: 4.188 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.004891, allocations: 4.375 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.0049, allocations: 7.938 kB / 249.6 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.045e-05/0.00496, allocations: 47.75 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.005429, allocations: 394.8 kB / 250 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.005533, allocations: 70.52 kB / 250.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.005562, allocations: 28.73 kB / 250.1 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.005575, allocations: 4 kB / 250.1 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.005597, allocations: 34.55 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.22e-07/0.005598, allocations: 0 / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007456/0.006343, allocations: 0.5332 MB / 250.7 MB, free: 7.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.006367, allocations: 51.41 kB / 250.7 MB, free: 7.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.006506, allocations: 142 kB / 250.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006517, allocations: 37.7 kB / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.006561, allocations: 136.3 kB / 251 MB, free: 7.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.006593, allocations: 67.42 kB / 251.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.00663, allocations: 37.69 kB / 251.1 MB, free: 7.453 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.0067, allocations: 326.8 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.006721, allocations: 15.98 kB / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.006769, allocations: 66.69 kB / 251.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.006849, allocations: 101 kB / 251.6 MB, free: 6.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.006851, allocations: 0 / 251.6 MB, free: 6.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001416/0.006992, allocations: 138.2 kB / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007004, allocations: 8 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007008, allocations: 0 / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.007117, allocations: 40.95 kB / 251.8 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.007211, allocations: 39.97 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008456/0.008056, allocations: 1.257 MB / 253.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.008099, allocations: 7.984 kB / 253.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.008107, allocations: 8 kB / 253.1 MB, free: 5.316 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.274e-05/0.008179, allocations: 121.8 kB / 253.2 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.008202, allocations: 24.02 kB / 253.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.008222, allocations: 13.12 kB / 253.3 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.008225, allocations: 7.938 kB / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.008228, allocations: 0 / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008231, allocations: 0 / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.00857, allocations: 370.4 kB / 253.6 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008572, allocations: 0 / 253.6 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.008651, allocations: 27.98 kB / 253.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008662, allocations: 27.83 kB / 253.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.008729, allocations: 32.77 kB / 253.7 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.008735, allocations: 0 / 253.7 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005185/0.009253, allocations: 1.233 MB / 255 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009254, allocations: 0 / 255 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.009422, allocations: 244.2 kB / 255.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.009431, allocations: 0 / 255.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.009476, allocations: 11.94 kB / 255.2 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.009503, allocations: 15.97 kB / 255.2 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.009507, allocations: 0 / 255.2 MB, free: 3.051 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.00953, allocations: 28.83 kB / 255.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00953, allocations: 0 / 255.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.009681, allocations: 48 kB / 255.3 MB, free: 2.973 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 7.529e-05/0.009756, allocations: 80.44 kB / 255.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.009984, allocations: 219.1 kB / 255.6 MB, free: 2.652 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.009992, allocations: 4 kB / 255.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.01011, allocations: 186.3 kB / 255.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01033, allocations: 210.4 kB / 256 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.01218, allocations: 416.6 kB / 256.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.01222, allocations: 75.98 kB / 256.5 MB, free: 1.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.905e-05/0.01226, allocations: 13.48 kB / 256.5 MB, free: 1.676 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.01233, allocations: 71.36 kB / 256.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01233, allocations: 0 / 256.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of Templates: time 0.003417/0.01575, allocations: 2.049 MB / 258.6 MB, free: 15.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4254126166924834]