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.001504/0.001504, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001785/0.001785, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9697/0.9697, allocations: 173.3 MB / 201.1 MB, free: 9.352 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 1.844e-06/1.844e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.286e-05, allocations: 2.312 kB / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004464/0.004497, allocations: 2.399 MB / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.005803, allocations: 0.5726 MB / 270.9 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.006003, allocations: 8 kB / 271 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.006191, allocations: 39.59 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.006406, allocations: 75.28 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.006715, allocations: 55.91 kB / 271.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.007115, allocations: 266.6 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.007321, allocations: 64.48 kB / 271.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.007618, allocations: 151.6 kB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.007777, allocations: 79.78 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.00782, allocations: 20 kB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.007857, allocations: 20 kB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.007904, allocations: 51.77 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.008002, allocations: 79.83 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.008284, allocations: 163.4 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.008288, allocations: 0 / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008289, allocations: 0 / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.008295, allocations: 3.938 kB / 272 MB, free: 2.414 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.0007526/0.009048, allocations: 0.539 MB / 272.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.009092, allocations: 8.031 kB / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.434e-05/0.009186, allocations: 48.75 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.009479, allocations: 177 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.009503, allocations: 16.88 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.009557, allocations: 24.33 kB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.009925, allocations: 189.7 kB / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.009945, allocations: 192 / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.009968, allocations: 8.375 kB / 273 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.009985, allocations: 15.88 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.01017, allocations: 74.94 kB / 273.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.01122, allocations: 0.6685 MB / 273.8 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.01146, allocations: 118.9 kB / 273.9 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.01156, allocations: 43.67 kB / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.01158, allocations: 4 kB / 273.9 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.01161, allocations: 37.39 kB / 274 MB, free: 312 kB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.01161, allocations: 0 / 274 MB, free: 312 kB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001713/0.01333, allocations: 0.6456 MB / 274.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.01337, allocations: 55.41 kB / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01356, allocations: 225.8 kB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.01358, allocations: 29.7 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01369, allocations: 191.1 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.01377, allocations: 99.16 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.01386, allocations: 51.36 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01402, allocations: 0.5039 MB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.01412, allocations: 39.95 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01424, allocations: 90.39 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.01446, allocations: 131 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01446, allocations: 0 / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004121/0.01487, allocations: 205 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.0149, allocations: 15.03 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.01491, allocations: 7.984 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.01509, allocations: 31.67 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.01532, allocations: 55.84 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.01699, allocations: 1.803 MB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.01711, allocations: 12.03 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.01713, allocations: 8 kB / 278.1 MB, free: 11.83 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 0.0001301/0.01726, allocations: 172.5 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.01733, allocations: 27.91 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.01738, allocations: 26.09 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01738, allocations: 3.984 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01739, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01739, allocations: 4 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.01823, allocations: 0.5657 MB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01824, allocations: 0 / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.01845, allocations: 47.92 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.01859, allocations: 35.59 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.01861, allocations: 4 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.02003, allocations: 1.818 MB / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02003, allocations: 0 / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.02047, allocations: 390 kB / 281.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.0205, allocations: 23.89 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.02052, allocations: 7.938 kB / 281.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.02059, allocations: 8 kB / 281.3 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.02064, allocations: 20.09 kB / 281.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.02065, allocations: 12.03 kB / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.02073, allocations: 160.1 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02073, allocations: 0 / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.02099, allocations: 60 kB / 281.5 MB, free: 8.234 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 0.0001328/0.02112, allocations: 107.2 kB / 281.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.02158, allocations: 301.3 kB / 281.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02158, allocations: 4.25 kB / 281.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.02177, allocations: 257.3 kB / 282.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.02207, allocations: 39.97 kB / 282.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.02307, allocations: 0.5798 MB / 282.8 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.02312, allocations: 84.27 kB / 282.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.02317, allocations: 17.94 kB / 282.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.02321, allocations: 20.5 kB / 282.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02321, allocations: 0 / 282.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of Templates: time 0.004414/0.02762, allocations: 2.51 MB / 285.4 MB, free: 4.258 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 -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.9228411922231317]