Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.001559/0.001559, allocations: 85.95 kB / 23 MB, free: 1.508 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.001382/0.001382, allocations: 176.1 kB / 26.39 MB, free: 8.004 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.954/0.954, allocations: 158.6 MB / 188.3 MB, free: 2.789 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.807e-05, allocations: 2.312 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004164/0.004192, allocations: 2.369 MB / 254.6 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.005601, allocations: 0.6086 MB / 255.2 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.005815, allocations: 4 kB / 255.2 MB, free: 4.262 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005991, allocations: 39.58 kB / 255.3 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.006221, allocations: 87.27 kB / 255.3 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.00647, allocations: 51.86 kB / 255.4 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.006851, allocations: 282.5 kB / 255.7 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.007069, allocations: 71.3 kB / 255.7 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.007387, allocations: 167.5 kB / 255.9 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.00757, allocations: 87.77 kB / 256 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.007612, allocations: 20 kB / 256 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.007651, allocations: 20 kB / 256 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.007703, allocations: 51.77 kB / 256.1 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.007798, allocations: 79.83 kB / 256.2 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.008115, allocations: 179.3 kB / 256.3 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.00812, allocations: 0 / 256.3 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.008121, allocations: 0 / 256.3 MB, free: 3.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.008128, allocations: 0 / 256.3 MB, free: 3.145 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007535/0.008881, allocations: 0.5545 MB / 256.9 MB, free: 2.555 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.008928, allocations: 11.98 kB / 256.9 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.009017, allocations: 48.75 kB / 256.9 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.009306, allocations: 181 kB / 257.1 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.009333, allocations: 16.88 kB / 257.1 MB, free: 2.273 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.009377, allocations: 20.38 kB / 257.2 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.009659, allocations: 149.3 kB / 257.3 MB, free: 2.098 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.009682, allocations: 12.12 kB / 257.3 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.009702, allocations: 12.38 kB / 257.3 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.009715, allocations: 11.94 kB / 257.3 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.009845, allocations: 59.44 kB / 257.4 MB, free: 2.008 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.01059, allocations: 0.5175 MB / 257.9 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.01075, allocations: 135 kB / 258 MB, free: 1.312 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.01081, allocations: 55.64 kB / 258.1 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.01082, allocations: 4 kB / 258.1 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.01084, allocations: 33.39 kB / 258.1 MB, free: 1.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.304e-06/0.01085, allocations: 4 kB / 258.1 MB, free: 1.203 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.000961/0.01181, allocations: 0.7149 MB / 258.9 MB, free: 436 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.01184, allocations: 59.34 kB / 258.9 MB, free: 364 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.01194, allocations: 222 kB / 259.1 MB, free: 124 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.01196, allocations: 29.7 kB / 259.2 MB, free: 88 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.01205, allocations: 191.5 kB / 259.3 MB, free: 15.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.01211, allocations: 114.9 kB / 259.5 MB, free: 15.78 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.01218, allocations: 67.33 kB / 259.5 MB, free: 15.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01231, allocations: 0.5039 MB / 260 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.01235, allocations: 23.98 kB / 260.1 MB, free: 15.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.01241, allocations: 79.02 kB / 260.1 MB, free: 15.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.01253, allocations: 124.6 kB / 260.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01253, allocations: 0 / 260.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002482/0.01278, allocations: 225.1 kB / 260.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.0128, allocations: 12.06 kB / 260.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.0128, allocations: 3.938 kB / 260.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.01292, allocations: 35.67 kB / 260.5 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01307, allocations: 63.91 kB / 260.6 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.01417, allocations: 2.076 MB / 262.7 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.01425, allocations: 8 kB / 262.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.01426, allocations: 11.94 kB / 262.7 MB, free: 12.39 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.01437, allocations: 168.5 kB / 262.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.01441, allocations: 31.86 kB / 262.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.01444, allocations: 34.64 kB / 262.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01445, allocations: 4 kB / 262.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01445, allocations: 0 / 262.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01446, allocations: 0 / 262.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.01505, allocations: 0.6322 MB / 263.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.01505, allocations: 8.172 kB / 263.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.0152, allocations: 59.91 kB / 263.6 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-05/0.01529, allocations: 27.67 kB / 263.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.0153, allocations: 8.094 kB / 263.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009123/0.01621, allocations: 1.776 MB / 265.4 MB, free: 9.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01621, allocations: 4 kB / 265.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.01662, allocations: 430.4 kB / 265.8 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01664, allocations: 19.84 kB / 265.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01666, allocations: 8 kB / 265.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.01673, allocations: 15.97 kB / 265.9 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01677, allocations: 27.89 kB / 265.9 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01678, allocations: 4 kB / 265.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.01684, allocations: 155.1 kB / 266.1 MB, free: 8.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01684, allocations: 0 / 266.1 MB, free: 8.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.0171, allocations: 64 kB / 266.1 MB, free: 8.711 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001031/0.0172, allocations: 99.19 kB / 266.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.01761, allocations: 342.1 kB / 266.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01761, allocations: 0 / 266.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.01778, allocations: 269.3 kB / 266.8 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.01809, allocations: 51.52 kB / 266.9 MB, free: 7.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.01905, allocations: 0.6386 MB / 267.5 MB, free: 7.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.01911, allocations: 92.69 kB / 267.6 MB, free: 7.125 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.01917, allocations: 18.3 kB / 267.6 MB, free: 7.109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01927, allocations: 110.2 kB / 267.7 MB, free: 7 MB / 250.7 MB Notification: Performance of SimCode: time 1.203e-06/0.01928, allocations: 0 / 267.7 MB, free: 7 MB / 250.7 MB Notification: Performance of Templates: time 0.005345/0.02462, allocations: 2.984 MB / 270.7 MB, free: 4.035 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.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.821365430019796]