Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.001096/0.001096, 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.001058/0.001058, 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.9706/0.9706, allocations: 173.3 MB / 201.1 MB, free: 9.359 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.First,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.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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.902e-05, allocations: 2.312 kB / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003776/0.003805, allocations: 2.399 MB / 270.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.005062, allocations: 0.5726 MB / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.005273, allocations: 4 kB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.005456, allocations: 35.59 kB / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.005672, allocations: 83.27 kB / 271.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.005923, allocations: 59.86 kB / 271.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.006274, allocations: 278.6 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.00647, allocations: 76.11 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.006756, allocations: 167.5 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.006923, allocations: 79.78 kB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.006968, allocations: 20 kB / 271.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.007004, allocations: 28 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.00705, allocations: 51.75 kB / 271.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.007146, allocations: 87.77 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.00743, allocations: 171.3 kB / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.007435, allocations: 0 / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007436, allocations: 4 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.007443, allocations: 0 / 272.1 MB, free: 2.352 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001039/0.008482, allocations: 0.5468 MB / 272.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.008523, allocations: 12.03 kB / 272.6 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.008612, allocations: 44.8 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.008881, allocations: 184.9 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.008905, allocations: 20.81 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.008951, allocations: 24.38 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.009255, allocations: 161.4 kB / 273.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.009273, allocations: 192 / 273.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.009295, allocations: 12.38 kB / 273.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.009307, allocations: 7.938 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.009475, allocations: 86.86 kB / 273.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.01031, allocations: 0.5444 MB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.01054, allocations: 139 kB / 273.8 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.01065, allocations: 67.59 kB / 273.9 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.01067, allocations: 4 kB / 273.9 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.01069, allocations: 33.39 kB / 273.9 MB, free: 348 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.01069, allocations: 0 / 273.9 MB, free: 348 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001498/0.01219, allocations: 0.8046 MB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.01223, allocations: 55.41 kB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01239, allocations: 214.8 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01241, allocations: 37.69 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.01251, allocations: 183.5 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.01259, allocations: 123 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.01267, allocations: 55.36 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01281, allocations: 0.504 MB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.0129, allocations: 39.91 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.01302, allocations: 94.8 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01323, allocations: 136.7 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01323, allocations: 4 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003804/0.01361, allocations: 234.1 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.01364, allocations: 15.92 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01364, allocations: 0 / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.01383, allocations: 39.73 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.01407, allocations: 59.91 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.01545, allocations: 2.11 MB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01555, allocations: 8.188 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01557, allocations: 12 kB / 278.6 MB, free: 11.36 MB / 266.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 0.0001129/0.01568, allocations: 176.5 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.01573, allocations: 31.86 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01577, allocations: 26.66 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01578, allocations: 4 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.01578, allocations: 3.938 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01579, allocations: 3.984 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.01695, allocations: 0.6785 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.01696, allocations: 3.984 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.01718, allocations: 63.91 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.01729, allocations: 23.67 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.01731, allocations: 12 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/0.01831, allocations: 1.818 MB / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01831, allocations: 3.938 kB / 281.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.0188, allocations: 446.3 kB / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.01882, allocations: 15.91 kB / 281.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.01885, allocations: 8 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01895, allocations: 8 kB / 282 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.01902, allocations: 23.89 kB / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.01903, allocations: 16.22 kB / 282 MB, free: 7.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.01912, allocations: 159.1 kB / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01912, allocations: 0 / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.01949, allocations: 64 kB / 282.2 MB, free: 7.547 MB / 266.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 0.0001144/0.01961, allocations: 111.1 kB / 282.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.0201, allocations: 345.8 kB / 282.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0201, allocations: 4.062 kB / 282.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.02035, allocations: 285.4 kB / 282.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.02075, allocations: 55.09 kB / 283 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.02198, allocations: 0.6268 MB / 283.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.397e-05/0.02205, allocations: 88.69 kB / 283.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.899e-05/0.02213, allocations: 22.28 kB / 283.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.02219, allocations: 24.5 kB / 283.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02219, allocations: 0 / 283.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Templates: time 0.006603/0.02879, allocations: 2.836 MB / 286.6 MB, free: 3.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.7160140508785844]