Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.000947/0.000947, 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.000972/0.000972, allocations: 145.1 kB / 24.54 MB, free: 32 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.9158/0.9158, allocations: 173.4 MB / 201.1 MB, free: 9.355 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.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 3.938 kB / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.532e-05, allocations: 6.25 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003567/0.003592, allocations: 2.483 MB / 270.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006562/0.004248, allocations: 259 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.004407, allocations: 4 kB / 270.7 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.004587, allocations: 43.52 kB / 270.8 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.004809, allocations: 91.14 kB / 270.9 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.005049, allocations: 71.88 kB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.005549, allocations: 338.1 kB / 271.3 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.005745, allocations: 67.64 kB / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.00598, allocations: 183.6 kB / 271.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.006149, allocations: 91.77 kB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.0062, allocations: 27.94 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.006249, allocations: 28 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.006302, allocations: 63.73 kB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.006396, allocations: 95.77 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.006602, allocations: 207.2 kB / 272 MB, free: 2.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006604, allocations: 4 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.006605, allocations: 3.984 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.00661, allocations: 4 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005593/0.00717, allocations: 0.5975 MB / 272.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.007206, allocations: 12.92 kB / 272.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.007274, allocations: 56.75 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.007462, allocations: 192.2 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.00748, allocations: 21.03 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.007518, allocations: 28.33 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.00776, allocations: 214 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.007773, allocations: 4.188 kB / 273.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.007792, allocations: 12.38 kB / 273.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.0078, allocations: 4.375 kB / 273.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.007953, allocations: 119.8 kB / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.008596, allocations: 0.6895 MB / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.008841, allocations: 217.9 kB / 274.2 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.008937, allocations: 94.3 kB / 274.3 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.008952, allocations: 7.938 kB / 274.3 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.008983, allocations: 41.39 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.008984, allocations: 0 / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001752/0.01074, allocations: 1.287 MB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.01077, allocations: 81.11 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.01089, allocations: 222.1 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01091, allocations: 37.7 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.01098, allocations: 187.5 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.01108, allocations: 182.4 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.01115, allocations: 87.84 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01126, allocations: 0.504 MB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.01135, allocations: 60.95 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01146, allocations: 128.1 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.01168, allocations: 209.4 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01169, allocations: 7.938 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003104/0.012, allocations: 298.3 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01201, allocations: 11.92 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01202, allocations: 4 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01203, allocations: 3.938 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.01226, allocations: 103.8 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01226, allocations: 3.984 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.01232, allocations: 12 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.01234, allocations: 16 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.01242, allocations: 172.5 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.01248, allocations: 47.92 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.01253, allocations: 33.97 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01253, allocations: 7.938 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01254, allocations: 7.984 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01254, allocations: 0 / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.01325, allocations: 0.8608 MB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01325, allocations: 0 / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.01348, allocations: 99.89 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01349, allocations: 4.062 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.0135, allocations: 12 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01351, allocations: 4 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01351, allocations: 0 / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.01397, allocations: 0.6391 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.01399, allocations: 19.86 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.01402, allocations: 12 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.0141, allocations: 8 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.01414, allocations: 35.88 kB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.01415, allocations: 12 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.264e-05/0.01422, allocations: 164.2 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01422, allocations: 0 / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01447, allocations: 80 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.04e-05/0.01456, allocations: 115.1 kB / 280 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.01484, allocations: 236 kB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01484, allocations: 0 / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.01496, allocations: 128.4 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.01532, allocations: 75.7 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.01617, allocations: 0.8162 MB / 281.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.213e-05/0.01623, allocations: 101.6 kB / 281.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.945e-05/0.01631, allocations: 30.97 kB / 281.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.01636, allocations: 28.5 kB / 281.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01637, allocations: 0 / 281.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of Templates: time 0.005042/0.02141, allocations: 3.186 MB / 284.6 MB, free: 5.289 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.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.7061906373128295]