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.000925/0.000925, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008557/0.0008557, allocations: 145.2 kB / 24.89 MB, free: 9.203 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.9092/0.9092, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.222e-06/1.222e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.134e-05, allocations: 6.25 kB / 268.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.005657/0.005678, allocations: 2.378 MB / 270.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.006695, allocations: 0.5919 MB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.006838, allocations: 4 kB / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.006995, allocations: 39.58 kB / 271.5 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.007138, allocations: 67.36 kB / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.007338, allocations: 55.86 kB / 271.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.007585, allocations: 270.6 kB / 271.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.007723, allocations: 70.44 kB / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.007929, allocations: 151.7 kB / 272.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.008043, allocations: 71.78 kB / 272.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.008073, allocations: 20 kB / 272.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.008097, allocations: 23.94 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.008136, allocations: 51.75 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.008198, allocations: 79.83 kB / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.008399, allocations: 159.4 kB / 272.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.008401, allocations: 4 kB / 272.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008402, allocations: 0 / 272.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.008406, allocations: 0 / 272.5 MB, free: 2.184 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.0005096/0.008916, allocations: 424.3 kB / 272.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.008957, allocations: 11.97 kB / 272.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.009014, allocations: 36.84 kB / 272.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.009232, allocations: 162.1 kB / 273.1 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.009248, allocations: 12.88 kB / 273.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.009285, allocations: 24.38 kB / 273.1 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.009515, allocations: 176 kB / 273.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.00953, allocations: 12.12 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.009544, allocations: 8.375 kB / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.009554, allocations: 7.938 kB / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.009631, allocations: 63.39 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.0103, allocations: 470.5 kB / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.01046, allocations: 104.9 kB / 273.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.0105, allocations: 32.84 kB / 274 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.01052, allocations: 4 kB / 274 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.01054, allocations: 46.48 kB / 274 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.01055, allocations: 0 / 274 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009239/0.01147, allocations: 0.5599 MB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.01151, allocations: 55.41 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.01161, allocations: 170.6 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.01163, allocations: 29.7 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.0117, allocations: 136.4 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.01175, allocations: 91.19 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.01181, allocations: 49.69 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01191, allocations: 334.5 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.01195, allocations: 23.92 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.01201, allocations: 68.25 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.01212, allocations: 108.8 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01212, allocations: 0 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001998/0.01232, allocations: 154.2 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01234, allocations: 7.984 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01235, allocations: 4 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.01248, allocations: 28.91 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.0126, allocations: 55.91 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008419/0.01345, allocations: 1.229 MB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.01352, allocations: 11.94 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.01353, allocations: 4 kB / 277.1 MB, free: 13.18 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 9.443e-05/0.01362, allocations: 121.8 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.01365, allocations: 27.95 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.01368, allocations: 25.95 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01368, allocations: 4 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.01369, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01369, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.01415, allocations: 416.1 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01415, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01428, allocations: 43.97 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-05/0.01437, allocations: 36.83 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.01438, allocations: 3.984 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006292/0.01501, allocations: 1.225 MB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01501, allocations: 7.938 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.01526, allocations: 284.8 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01527, allocations: 19.83 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.01529, allocations: 4 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.01535, allocations: 4 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.01538, allocations: 23.91 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01539, allocations: 4 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.678e-05/0.01543, allocations: 41.81 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01543, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.01561, allocations: 60 kB / 279.5 MB, free: 10.69 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 9.436e-05/0.01571, allocations: 88.41 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.01598, allocations: 239.1 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.01599, allocations: 0 / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01613, allocations: 183.4 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01635, allocations: 44.28 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.01716, allocations: 0.5177 MB / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.928e-05/0.01722, allocations: 84.31 kB / 280.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.65e-05/0.01726, allocations: 13.95 kB / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.808e-05/0.01735, allocations: 87.3 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01735, allocations: 0 / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of Templates: time 0.004562/0.02191, allocations: 2.672 MB / 283.4 MB, free: 6.719 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.560465366113931]