Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001005/0.001005, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.00239, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009355/0.0009355, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002128, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9131/0.9131, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08077/0.9939, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.025e-05, allocations: 10.31 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002612/0.002633, allocations: 2.429 MB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.003454, allocations: 0.6656 MB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.003564, allocations: 7.938 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.987e-05/0.003644, allocations: 31.66 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.003771, allocations: 87.27 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.003901, allocations: 67.78 kB / 248 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.004114, allocations: 282.5 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.004248, allocations: 77.91 kB / 248.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.00446, allocations: 190.3 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.004571, allocations: 91.69 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.004596, allocations: 24 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.004665, allocations: 23.94 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.00469, allocations: 35.88 kB / 248.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.004743, allocations: 71.88 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.00493, allocations: 163.4 kB / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.004939, allocations: 0 / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004939, allocations: 0 / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.004948, allocations: 0 / 248.9 MB, free: 9.961 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.0004992/0.005448, allocations: 499.8 kB / 249.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.005475, allocations: 8.031 kB / 249.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.005614, allocations: 122 kB / 249.6 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.005788, allocations: 166.1 kB / 249.7 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.005803, allocations: 16.88 kB / 249.7 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.005833, allocations: 24.36 kB / 249.8 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.005995, allocations: 157.3 kB / 249.9 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.006006, allocations: 8.188 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.006018, allocations: 8.375 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.006027, allocations: 11.94 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.006098, allocations: 55.45 kB / 250 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.006534, allocations: 394 kB / 250.4 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.006662, allocations: 122.4 kB / 250.5 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.00671, allocations: 48.83 kB / 250.5 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.006726, allocations: 7.984 kB / 250.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.006746, allocations: 42.56 kB / 250.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.006747, allocations: 0 / 250.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.000918/0.007665, allocations: 0.7319 MB / 251.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.007691, allocations: 55.41 kB / 251.4 MB, free: 7.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.007768, allocations: 158.6 kB / 251.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.007781, allocations: 29.7 kB / 251.6 MB, free: 7.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.00783, allocations: 136.8 kB / 251.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.007889, allocations: 118.9 kB / 251.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.007942, allocations: 53.69 kB / 251.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.008015, allocations: 338.8 kB / 252.2 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.008047, allocations: 27.98 kB / 252.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.008098, allocations: 67.11 kB / 252.3 MB, free: 6.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.008191, allocations: 120.6 kB / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008193, allocations: 0 / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001713/0.008364, allocations: 171.4 kB / 252.6 MB, free: 6.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.008375, allocations: 8 kB / 252.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00838, allocations: 4.062 kB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.76e-05/0.008477, allocations: 36.77 kB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.00864, allocations: 71.89 kB / 252.7 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000717/0.009357, allocations: 1.434 MB / 254.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.009408, allocations: 12.03 kB / 254.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.009417, allocations: 4 kB / 254.1 MB, free: 4.43 MB / 250.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 6.948e-05/0.009486, allocations: 133.7 kB / 254.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.009512, allocations: 19.98 kB / 254.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.009539, allocations: 30.64 kB / 254.3 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009541, allocations: 4 kB / 254.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.009545, allocations: 0 / 254.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009548, allocations: 0 / 254.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.009992, allocations: 496.7 kB / 254.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.009993, allocations: 3.938 kB / 254.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01014, allocations: 75.89 kB / 254.9 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.01015, allocations: 15.91 kB / 254.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-05/0.01022, allocations: 32.91 kB / 254.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01023, allocations: 12 kB / 254.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005253/0.01075, allocations: 1.234 MB / 256.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01075, allocations: 0 / 256.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.01099, allocations: 335.8 kB / 256.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.011, allocations: 8 kB / 256.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.01106, allocations: 8.031 kB / 256.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.0111, allocations: 27.95 kB / 256.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01111, allocations: 8 kB / 256.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.01114, allocations: 42.05 kB / 256.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01114, allocations: 0 / 256.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.01133, allocations: 68 kB / 256.7 MB, free: 1.723 MB / 250.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 7.382e-05/0.0114, allocations: 84.36 kB / 256.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.01165, allocations: 260.1 kB / 257 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.01166, allocations: 4 kB / 257 MB, free: 1.359 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.01182, allocations: 232 kB / 257.2 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01212, allocations: 425 kB / 257.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.01527, allocations: 0.558 MB / 258.2 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.24e-05/0.01534, allocations: 88.92 kB / 258.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.01539, allocations: 22.28 kB / 258.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.01549, allocations: 91.36 kB / 258.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01549, allocations: 0 / 258.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Templates: time 0.004472/0.01996, allocations: 3.103 MB / 261.5 MB, free: 12.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4017542647197843]