Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001083/0.001083, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001091/0.001091, allocations: 169.6 kB / 25.69 MB, free: 8.441 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.8569/0.8569, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.19e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003905/0.003927, allocations: 2.42 MB / 254 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.005108, allocations: 0.6318 MB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.005241, allocations: 7.938 kB / 254.6 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.005392, allocations: 35.66 kB / 254.7 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.005566, allocations: 79.27 kB / 254.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.005777, allocations: 55.86 kB / 254.8 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.006068, allocations: 266.6 kB / 255 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.006234, allocations: 66.45 kB / 255.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.00646, allocations: 151.7 kB / 255.3 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.006608, allocations: 71.78 kB / 255.3 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.006643, allocations: 24 kB / 255.3 MB, free: 3.414 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.006675, allocations: 20 kB / 255.4 MB, free: 3.395 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.006718, allocations: 47.77 kB / 255.4 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.006805, allocations: 79.83 kB / 255.5 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.00705, allocations: 167.3 kB / 255.7 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007052, allocations: 0 / 255.7 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007053, allocations: 4 kB / 255.7 MB, free: 3.102 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.007057, allocations: 0 / 255.7 MB, free: 3.102 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005321/0.007589, allocations: 424.3 kB / 256.1 MB, free: 2.664 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.007626, allocations: 15.98 kB / 256.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.007689, allocations: 32.91 kB / 256.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.007912, allocations: 158.2 kB / 256.3 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.007931, allocations: 20.75 kB / 256.3 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.007974, allocations: 32.31 kB / 256.3 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.00826, allocations: 176 kB / 256.5 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.008278, allocations: 4.172 kB / 256.5 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.008294, allocations: 8.375 kB / 256.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.008306, allocations: 7.938 kB / 256.5 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.008414, allocations: 59.47 kB / 256.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.009114, allocations: 478.4 kB / 257 MB, free: 1.633 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.009277, allocations: 101.3 kB / 257.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.009335, allocations: 32.84 kB / 257.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.009351, allocations: 4 kB / 257.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.009375, allocations: 34.56 kB / 257.2 MB, free: 1.441 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.009376, allocations: 0 / 257.2 MB, free: 1.441 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.00112/0.0105, allocations: 0.5676 MB / 257.8 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.01053, allocations: 55.41 kB / 257.8 MB, free: 0.75 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.01064, allocations: 158.6 kB / 258 MB, free: 0.582 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01066, allocations: 29.7 kB / 258 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01077, allocations: 136.4 kB / 258.2 MB, free: 420 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.01083, allocations: 95.16 kB / 258.2 MB, free: 324 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.0109, allocations: 53.67 kB / 258.3 MB, free: 264 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.011, allocations: 334.7 kB / 258.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.01106, allocations: 16 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.01114, allocations: 68.23 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01128, allocations: 112 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01128, allocations: 0 / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002495/0.01153, allocations: 154.3 kB / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01155, allocations: 4 kB / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01155, allocations: 4 kB / 259 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.01168, allocations: 32.77 kB / 259 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.01189, allocations: 59.89 kB / 259.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000897/0.01279, allocations: 1.222 MB / 260.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/0.01287, allocations: 8 kB / 260.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01289, allocations: 8 kB / 260.3 MB, free: 14.11 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 9.574e-05/0.01298, allocations: 121.8 kB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.01303, allocations: 31.84 kB / 260.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.01306, allocations: 17.97 kB / 260.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01307, allocations: 8.031 kB / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01307, allocations: 0 / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01307, allocations: 0 / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.01365, allocations: 436.1 kB / 260.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01365, allocations: 0 / 260.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.01386, allocations: 43.92 kB / 260.9 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.01396, allocations: 33.03 kB / 261 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01398, allocations: 11.98 kB / 261 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008848/0.01486, allocations: 1.221 MB / 262.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01486, allocations: 0 / 262.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.01518, allocations: 286.3 kB / 262.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.01521, allocations: 23.88 kB / 262.5 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01523, allocations: 8 kB / 262.5 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01533, allocations: 4 kB / 262.5 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.01537, allocations: 19.97 kB / 262.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01539, allocations: 11.98 kB / 262.6 MB, free: 11.69 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.01544, allocations: 41.83 kB / 262.6 MB, free: 11.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01544, allocations: 0 / 262.6 MB, free: 11.65 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000298/0.01573, allocations: 60 kB / 262.7 MB, free: 11.59 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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 9.521e-05/0.01583, allocations: 88.28 kB / 262.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.01618, allocations: 238.3 kB / 263 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.01619, allocations: 4 kB / 263 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.0164, allocations: 187.3 kB / 263.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.01669, allocations: 44.33 kB / 263.2 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.01772, allocations: 0.5101 MB / 263.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.869e-05/0.01779, allocations: 88.25 kB / 263.8 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.01786, allocations: 17.95 kB / 263.8 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.01799, allocations: 87.34 kB / 263.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01799, allocations: 0 / 263.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Templates: time 0.005784/0.02377, allocations: 2.695 MB / 266.6 MB, free: 7.582 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.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.5751498891040683]