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.002421/0.002421, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002809/0.002809, allocations: 162.4 kB / 25.03 MB, free: 7.906 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 1.402/1.402, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.924e-06/1.924e-06, allocations: 0 / 250.4 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.266e-05, allocations: 6.312 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.005573/0.005606, allocations: 2.349 MB / 252.7 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.007248, allocations: 0.6162 MB / 253.3 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.007413, allocations: 4 kB / 253.3 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.007628, allocations: 39.53 kB / 253.4 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.007901, allocations: 67.42 kB / 253.4 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.008207, allocations: 59.8 kB / 253.5 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.008719, allocations: 270.6 kB / 253.8 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.00897, allocations: 60.44 kB / 253.8 MB, free: 472 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.009363, allocations: 155.7 kB / 254 MB, free: 316 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.009579, allocations: 75.78 kB / 254 MB, free: 240 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.00964, allocations: 20 kB / 254.1 MB, free: 220 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.009699, allocations: 19.94 kB / 254.1 MB, free: 200 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.009782, allocations: 51.77 kB / 254.1 MB, free: 148 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.00995, allocations: 83.81 kB / 254.2 MB, free: 64 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.01047, allocations: 251.1 kB / 254.5 MB, free: 15.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01047, allocations: 4 kB / 254.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01048, allocations: 0 / 254.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.01048, allocations: 0 / 254.5 MB, free: 15.81 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001141/0.01162, allocations: 0.5426 MB / 255 MB, free: 15.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.01167, allocations: 15.98 kB / 255 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.01181, allocations: 40.8 kB / 255.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.0122, allocations: 184.9 kB / 255.2 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.01224, allocations: 16.88 kB / 255.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.0123, allocations: 32.36 kB / 255.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.01288, allocations: 209 kB / 255.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.01292, allocations: 8.188 kB / 255.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.01295, allocations: 4.375 kB / 255.5 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.01296, allocations: 11.92 kB / 255.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.01339, allocations: 125.9 kB / 255.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.01518, allocations: 0.7193 MB / 256.4 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.01564, allocations: 162.9 kB / 256.5 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.01586, allocations: 63.67 kB / 256.6 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.01589, allocations: 4 kB / 256.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.01593, allocations: 45.33 kB / 256.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.893e-06/0.01594, allocations: 0 / 256.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.002498/0.01843, allocations: 0.7394 MB / 257.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.0185, allocations: 55.41 kB / 257.4 MB, free: 12.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.01886, allocations: 241.8 kB / 257.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.01889, allocations: 33.7 kB / 257.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.0191, allocations: 195.1 kB / 257.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.01922, allocations: 95.22 kB / 258 MB, free: 12.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.01936, allocations: 63.3 kB / 258 MB, free: 11.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003876/0.01975, allocations: 0.5079 MB / 258.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.01994, allocations: 55.95 kB / 258.6 MB, free: 11.4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.02021, allocations: 118.3 kB / 258.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.02073, allocations: 190.3 kB / 258.9 MB, free: 11.06 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02073, allocations: 0 / 258.9 MB, free: 11.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007988/0.02153, allocations: 261 kB / 259.2 MB, free: 10.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.02155, allocations: 7.938 kB / 259.2 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.02156, allocations: 0 / 259.2 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.02185, allocations: 47.78 kB / 259.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.02219, allocations: 47.92 kB / 259.3 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.02475, allocations: 1.877 MB / 261.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.02493, allocations: 11.98 kB / 261.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.02496, allocations: 8 kB / 261.1 MB, free: 8.66 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 0.0002529/0.02521, allocations: 192.5 kB / 261.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.0253, allocations: 23.91 kB / 261.4 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.02537, allocations: 21.97 kB / 261.4 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.02538, allocations: 0 / 261.4 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.02538, allocations: 4 kB / 261.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.02539, allocations: 3.984 kB / 261.4 MB, free: 8.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.02695, allocations: 0.6517 MB / 262 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02695, allocations: 0 / 262 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.02732, allocations: 51.98 kB / 262.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.02753, allocations: 39.59 kB / 262.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.02756, allocations: 8 kB / 262.1 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.03002, allocations: 1.877 MB / 264 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.03003, allocations: 4 kB / 264 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.03108, allocations: 475.2 kB / 264.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.03112, allocations: 15.91 kB / 264.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.03118, allocations: 7.938 kB / 264.5 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.03138, allocations: 8 kB / 264.5 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.03147, allocations: 23.95 kB / 264.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.03149, allocations: 4 kB / 264.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.03171, allocations: 176.1 kB / 264.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03171, allocations: 0 / 264.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006102/0.03232, allocations: 63.94 kB / 264.8 MB, free: 4.805 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 0.0001842/0.03251, allocations: 99.25 kB / 264.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009621/0.03347, allocations: 356.4 kB / 265.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03347, allocations: 0 / 265.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.03407, allocations: 289.7 kB / 265.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.03474, allocations: 43.84 kB / 265.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.0366, allocations: 0.5954 MB / 266.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.03682, allocations: 142.1 kB / 266.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.03693, allocations: 17.94 kB / 266.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.03702, allocations: 24.48 kB / 266.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03702, allocations: 0 / 266.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of Templates: time 0.01115/0.04817, allocations: 2.48 MB / 268.8 MB, free: 0.6953 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.325746851041913]