Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001046/0.001046, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.000929/0.000929, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9282/0.9282, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.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.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 4 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.654e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002992/0.003018, allocations: 2.485 MB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.003454, allocations: 259 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.00355, allocations: 7.938 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.003683, allocations: 47.52 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.00381, allocations: 99.06 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.003958, allocations: 63.91 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004201, allocations: 334.3 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.004345, allocations: 68.48 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.004491, allocations: 183.6 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.004618, allocations: 99.69 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.004653, allocations: 24 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.129e-05/0.004684, allocations: 24 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.004723, allocations: 55.77 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.004797, allocations: 107.7 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005009, allocations: 203.2 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005011, allocations: 4 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005012, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005017, allocations: 0 / 277 MB, free: 13.46 MB / 266.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.0005657/0.005582, allocations: 0.5936 MB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.005621, allocations: 12.03 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.005694, allocations: 56.75 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.005905, allocations: 192.1 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.005922, allocations: 17.03 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.005967, allocations: 36.31 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.006229, allocations: 210 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.006243, allocations: 4.188 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.006262, allocations: 8.375 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.006271, allocations: 8.375 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.006434, allocations: 119.8 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.007117, allocations: 0.7012 MB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.007383, allocations: 221.7 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.007487, allocations: 91.94 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.007505, allocations: 11.91 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.007532, allocations: 37.39 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.363e-06/0.007534, allocations: 0 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001582/0.009116, allocations: 1.289 MB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.009152, allocations: 81.11 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.009269, allocations: 221.9 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.009287, allocations: 33.7 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.009366, allocations: 195.5 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.009455, allocations: 178.4 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.009537, allocations: 79.84 kB / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.009658, allocations: 0.5079 MB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.009751, allocations: 60.95 kB / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.009872, allocations: 124.2 kB / 282 MB, free: 8.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.0101, allocations: 213.3 kB / 282.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.0101, allocations: 0 / 282.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003152/0.01042, allocations: 306.3 kB / 282.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01043, allocations: 7.938 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01044, allocations: 4 kB / 282.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01046, allocations: 3.938 kB / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.01069, allocations: 103.9 kB / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01069, allocations: 0 / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.01075, allocations: 8 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01077, allocations: 19.98 kB / 282.7 MB, free: 7.383 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 9.353e-05/0.01086, allocations: 184.4 kB / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.01091, allocations: 39.92 kB / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.01096, allocations: 41.97 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01097, allocations: 7.938 kB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01097, allocations: 3.938 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.01098, allocations: 7.984 kB / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007434/0.01172, allocations: 0.8566 MB / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01173, allocations: 0 / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.01194, allocations: 91.91 kB / 283.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.01195, allocations: 12.05 kB / 283.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.01196, allocations: 8 kB / 283.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01197, allocations: 11.94 kB / 284 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01197, allocations: 0 / 284 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.01244, allocations: 0.6353 MB / 284.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.01246, allocations: 19.86 kB / 284.6 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01248, allocations: 8 kB / 284.6 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.01257, allocations: 12 kB / 284.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.0126, allocations: 35.81 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01261, allocations: 16 kB / 284.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.969e-05/0.01267, allocations: 164.2 kB / 284.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01267, allocations: 0 / 284.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.0129, allocations: 80 kB / 284.9 MB, free: 5.07 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.115e-05/0.01299, allocations: 111.2 kB / 285 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.01327, allocations: 223.8 kB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01327, allocations: 0 / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.01343, allocations: 135.3 kB / 285.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.0138, allocations: 60.2 kB / 285.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.01468, allocations: 0.8256 MB / 286.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.01475, allocations: 101.6 kB / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.061e-05/0.01483, allocations: 30.97 kB / 286.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.01489, allocations: 28.5 kB / 286.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01489, allocations: 0 / 286.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of Templates: time 0.004896/0.01979, allocations: 3.036 MB / 289.5 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9777908893302083]