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.000976/0.000976, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009086/0.0009086, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9121/0.9121, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.122e-06/1.122e-06, allocations: 3.938 kB / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.213e-05, allocations: 6.25 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002085/0.002097, allocations: 2.126 MB / 254.4 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.002758, allocations: 0.5696 MB / 254.9 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.00284, allocations: 4 kB / 254.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.002948, allocations: 39.64 kB / 255 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.003023, allocations: 51.5 kB / 255 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.003135, allocations: 47.94 kB / 255.1 MB, free: 4.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003288, allocations: 226.8 kB / 255.3 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.003388, allocations: 45.72 kB / 255.3 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.003485, allocations: 119.8 kB / 255.5 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.003569, allocations: 59.8 kB / 255.5 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.00359, allocations: 16 kB / 255.5 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.003608, allocations: 16 kB / 255.5 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.003638, allocations: 35.91 kB / 255.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.003698, allocations: 63.83 kB / 255.6 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.003834, allocations: 131.5 kB / 255.8 MB, free: 3.711 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.003835, allocations: 0 / 255.8 MB, free: 3.711 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003836, allocations: 4 kB / 255.8 MB, free: 3.707 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.003839, allocations: 0 / 255.8 MB, free: 3.707 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.0004165/0.004256, allocations: 0.4997 MB / 256.3 MB, free: 3.172 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.004285, allocations: 11.98 kB / 256.3 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.004331, allocations: 36.8 kB / 256.3 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.004488, allocations: 176.2 kB / 256.5 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.004499, allocations: 8.375 kB / 256.5 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.004524, allocations: 28.33 kB / 256.5 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.004672, allocations: 118.5 kB / 256.6 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.004682, allocations: 192 / 256.6 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.004695, allocations: 12.38 kB / 256.7 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.004703, allocations: 7.938 kB / 256.7 MB, free: 2.746 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.004766, allocations: 47.88 kB / 256.7 MB, free: 2.699 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.005227, allocations: 494.9 kB / 257.2 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.005333, allocations: 90.98 kB / 257.3 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.005363, allocations: 27.67 kB / 257.3 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.005373, allocations: 0 / 257.3 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.005391, allocations: 37.39 kB / 257.4 MB, free: 2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.005392, allocations: 0 / 257.4 MB, free: 2 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006384/0.006031, allocations: 0.5104 MB / 257.9 MB, free: 1.43 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.006052, allocations: 63.34 kB / 257.9 MB, free: 1.355 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.006137, allocations: 198.4 kB / 258.1 MB, free: 1.145 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006149, allocations: 29.7 kB / 258.1 MB, free: 1.109 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.006212, allocations: 191.1 kB / 258.3 MB, free: 0.918 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.006246, allocations: 67.45 kB / 258.4 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.00629, allocations: 47.3 kB / 258.4 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.006395, allocations: 0.4923 MB / 258.9 MB, free: 300 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.00642, allocations: 19.98 kB / 259 MB, free: 280 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.032e-05/0.006471, allocations: 78.08 kB / 259 MB, free: 176 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.006565, allocations: 121.8 kB / 259.2 MB, free: 32 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.006567, allocations: 0 / 259.2 MB, free: 32 kB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000187/0.006754, allocations: 173 kB / 259.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.006762, allocations: 4 kB / 259.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006768, allocations: 4 kB / 259.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.00687, allocations: 39.72 kB / 259.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.006956, allocations: 35.98 kB / 259.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007852/0.007742, allocations: 1.811 MB / 261.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.007787, allocations: 11.98 kB / 261.2 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.007794, allocations: 4 kB / 261.2 MB, free: 13.82 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.834e-05/0.007873, allocations: 172.5 kB / 261.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.0079, allocations: 19.91 kB / 261.4 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.007922, allocations: 21.12 kB / 261.4 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007924, allocations: 3.938 kB / 261.4 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007928, allocations: 4 kB / 261.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007931, allocations: 3.984 kB / 261.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.008311, allocations: 480.5 kB / 261.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.008312, allocations: 0 / 261.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.008388, allocations: 28.17 kB / 261.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.738e-05/0.008455, allocations: 31.66 kB / 262 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.008463, allocations: 8 kB / 262 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006685/0.009132, allocations: 1.776 MB / 263.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009133, allocations: 0 / 263.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.009335, allocations: 315.3 kB / 264.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.009344, allocations: 15.84 kB / 264.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.009356, allocations: 8 kB / 264.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.009402, allocations: 0 / 264.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.009426, allocations: 15.97 kB / 264.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.009432, allocations: 4 kB / 264.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.009484, allocations: 147.3 kB / 264.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009485, allocations: 0 / 264.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.009675, allocations: 48 kB / 264.3 MB, free: 10.55 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.955e-05/0.009745, allocations: 107.2 kB / 264.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.009979, allocations: 268.4 kB / 264.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009981, allocations: 8 kB / 264.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.01011, allocations: 240.7 kB / 264.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.0103, allocations: 23.98 kB / 264.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01088, allocations: 435 kB / 265.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.01092, allocations: 75.98 kB / 265.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.01097, allocations: 21.47 kB / 265.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.01103, allocations: 94.12 kB / 265.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01103, allocations: 0 / 265.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of Templates: time 0.00337/0.0144, allocations: 2.046 MB / 267.6 MB, free: 7.164 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.705793945118785]