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.0009681/0.0009681, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.000925/0.000925, allocations: 164.9 kB / 25.7 MB, free: 7.438 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.8921/0.8921, allocations: 158.6 MB / 187.6 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.212e-06/1.212e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.384e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002373/0.002387, allocations: 2.416 MB / 254 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000804/0.003191, allocations: 0.6318 MB / 254.6 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.003302, allocations: 7.938 kB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003418, allocations: 39.66 kB / 254.7 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.003615, allocations: 87.14 kB / 254.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.003781, allocations: 51.92 kB / 254.8 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.003984, allocations: 282.5 kB / 255.1 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004112, allocations: 81.84 kB / 255.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.004269, allocations: 159.6 kB / 255.3 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.004377, allocations: 83.72 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.004404, allocations: 24 kB / 255.4 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.206e-05/0.004426, allocations: 20 kB / 255.4 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.00446, allocations: 51.81 kB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.004515, allocations: 87.77 kB / 255.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.004692, allocations: 175.4 kB / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004694, allocations: 0 / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004694, allocations: 0 / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004697, allocations: 0 / 255.7 MB, free: 3.035 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.0004031/0.005101, allocations: 440.1 kB / 256.2 MB, free: 2.582 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.00513, allocations: 19.98 kB / 256.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.005171, allocations: 28.92 kB / 256.2 MB, free: 2.535 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.00533, allocations: 170.1 kB / 256.4 MB, free: 2.344 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.005344, allocations: 12.88 kB / 256.4 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.005373, allocations: 24.33 kB / 256.4 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.005526, allocations: 153.3 kB / 256.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.005537, allocations: 192 / 256.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.005551, allocations: 8.375 kB / 256.6 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.005559, allocations: 11.94 kB / 256.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.005633, allocations: 63.39 kB / 256.6 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.00607, allocations: 394 kB / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.006197, allocations: 118.4 kB / 257.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.006245, allocations: 52.36 kB / 257.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.006261, allocations: 4 kB / 257.2 MB, free: 1.48 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.006278, allocations: 34.56 kB / 257.2 MB, free: 1.438 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.006279, allocations: 3.938 kB / 257.2 MB, free: 1.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009088/0.007188, allocations: 0.7203 MB / 258 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.007215, allocations: 55.41 kB / 258 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.007296, allocations: 166.8 kB / 258.2 MB, free: 428 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.007308, allocations: 29.7 kB / 258.2 MB, free: 392 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.007356, allocations: 132.8 kB / 258.3 MB, free: 252 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.007406, allocations: 118.9 kB / 258.4 MB, free: 132 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.007456, allocations: 53.69 kB / 258.5 MB, free: 72 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.007537, allocations: 334.8 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.007575, allocations: 27.98 kB / 258.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.007625, allocations: 58.56 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.007724, allocations: 120 kB / 259 MB, free: 15.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.007725, allocations: 0 / 259 MB, free: 15.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001744/0.0079, allocations: 182.5 kB / 259.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.007911, allocations: 4 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007916, allocations: 4 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.00802, allocations: 44.81 kB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.008176, allocations: 67.91 kB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007265/0.008902, allocations: 1.422 MB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.008958, allocations: 8 kB / 260.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.008966, allocations: 4 kB / 260.8 MB, free: 13.69 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 7.627e-05/0.009042, allocations: 137.7 kB / 260.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.009073, allocations: 28.16 kB / 260.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.009099, allocations: 22.66 kB / 260.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.009101, allocations: 4 kB / 260.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009105, allocations: 8 kB / 261 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.00911, allocations: 3.984 kB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.009559, allocations: 492.8 kB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.009562, allocations: 4 kB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.009714, allocations: 67.89 kB / 261.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-05/0.009777, allocations: 24.84 kB / 261.5 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.009786, allocations: 4 kB / 261.5 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/0.01043, allocations: 1.237 MB / 262.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01043, allocations: 0 / 262.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.01067, allocations: 330.8 kB / 263.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.01069, allocations: 19.86 kB / 263.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.0107, allocations: 8 kB / 263.1 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.01077, allocations: 4 kB / 263.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.0108, allocations: 31.89 kB / 263.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.01081, allocations: 8 kB / 263.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.01084, allocations: 40.84 kB / 263.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01084, allocations: 0 / 263.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.01105, allocations: 68 kB / 263.3 MB, free: 11 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 6.952e-05/0.01112, allocations: 80.41 kB / 263.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.01138, allocations: 268.1 kB / 263.6 MB, free: 10.63 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01138, allocations: 0 / 263.6 MB, free: 10.63 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.01153, allocations: 223.3 kB / 263.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01174, allocations: 47.91 kB / 263.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007545/0.01249, allocations: 0.5505 MB / 264.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01254, allocations: 88.69 kB / 264.5 MB, free: 9.656 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.0126, allocations: 18.3 kB / 264.5 MB, free: 9.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.0127, allocations: 99.34 kB / 264.6 MB, free: 9.543 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0127, allocations: 3.938 kB / 264.6 MB, free: 9.539 MB / 250.7 MB Notification: Performance of Templates: time 0.004495/0.0172, allocations: 2.929 MB / 267.6 MB, free: 6.645 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 -s gbode -gbm=radauIIA3 -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.4793909611180425]