Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.000931, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 142 kB / 24.89 MB, free: 8.781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9328/0.9328, allocations: 173.4 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 268.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.672e-05, allocations: 6.312 kB / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002447/0.002464, allocations: 2.414 MB / 270.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.003206, allocations: 0.5841 MB / 271.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003306, allocations: 11.94 kB / 271.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.003435, allocations: 31.66 kB / 271.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.003544, allocations: 79.27 kB / 271.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.003696, allocations: 55.92 kB / 271.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.003893, allocations: 270.5 kB / 271.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004016, allocations: 62.45 kB / 272 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.004169, allocations: 151.7 kB / 272.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.004274, allocations: 79.78 kB / 272.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.004304, allocations: 20 kB / 272.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.004327, allocations: 20 kB / 272.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.004362, allocations: 47.77 kB / 272.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.004419, allocations: 79.83 kB / 272.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.0046, allocations: 171.3 kB / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004601, allocations: 0 / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004602, allocations: 0 / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.004607, allocations: 0 / 272.6 MB, free: 2.047 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.0003923/0.004999, allocations: 428.3 kB / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.005026, allocations: 8.031 kB / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.005067, allocations: 32.92 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.005224, allocations: 166.1 kB / 273.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.005239, allocations: 16.88 kB / 273.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.005265, allocations: 20.31 kB / 273.2 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.005434, allocations: 176 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.005448, allocations: 8.141 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005459, allocations: 8.375 kB / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.005467, allocations: 7.938 kB / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.583e-05/0.005532, allocations: 55.47 kB / 273.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.006017, allocations: 486.4 kB / 273.9 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.006126, allocations: 90.47 kB / 274 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.006164, allocations: 40.83 kB / 274.1 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.006176, allocations: 4 kB / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.006194, allocations: 30.56 kB / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.006195, allocations: 0 / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007161/0.006911, allocations: 0.573 MB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.006935, allocations: 51.41 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.007017, allocations: 166.6 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.007027, allocations: 25.7 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.007078, allocations: 148.4 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.007117, allocations: 87.22 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.00716, allocations: 49.67 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.007231, allocations: 338.7 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.007257, allocations: 16 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.007303, allocations: 68.23 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/0.007394, allocations: 104.8 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007396, allocations: 7.938 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001538/0.00755, allocations: 166.2 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007562, allocations: 10.97 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.007566, allocations: 0 / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.864e-05/0.007654, allocations: 32.77 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.007782, allocations: 51.91 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006199/0.008402, allocations: 1.233 MB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.008451, allocations: 8 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.008461, allocations: 8 kB / 277.2 MB, free: 13.04 MB / 266.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 6.416e-05/0.008525, allocations: 117.8 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.008553, allocations: 27.91 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.008579, allocations: 25.97 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.00858, allocations: 4.031 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.008583, allocations: 4 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008587, allocations: 3.984 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.008955, allocations: 416.1 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008957, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.009074, allocations: 51.91 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-05/0.00914, allocations: 32.91 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.009148, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005333/0.009682, allocations: 1.237 MB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009683, allocations: 0 / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.009886, allocations: 289.1 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.009899, allocations: 11.91 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.009912, allocations: 8 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.009968, allocations: 4 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.009998, allocations: 15.97 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.01001, allocations: 7.984 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.01004, allocations: 45.81 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01004, allocations: 0 / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.0102, allocations: 56 kB / 279.6 MB, free: 10.54 MB / 266.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 6.632e-05/0.01027, allocations: 92.34 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.0105, allocations: 235.1 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.0105, allocations: 4 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.01062, allocations: 186.4 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01083, allocations: 59.48 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.01152, allocations: 0.5178 MB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.076e-05/0.01158, allocations: 84.31 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.01163, allocations: 17.95 kB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.01171, allocations: 87.34 kB / 280.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01171, allocations: 0 / 280.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of Templates: time 0.004172/0.01589, allocations: 2.696 MB / 283.5 MB, free: 6.531 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.551406288985163]