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.0007442/0.0007442, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002009, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007354/0.0007354, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001825, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9019/0.9019, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1554/1.057, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.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 1.162e-06/1.162e-06, allocations: 0 / 239.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.867e-06/1.003e-05, allocations: 2.312 kB / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002394/0.002404, allocations: 2.5 MB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.002703, allocations: 267.5 kB / 242.5 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.002783, allocations: 11.94 kB / 242.5 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/0.002863, allocations: 44.39 kB / 242.6 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.002976, allocations: 103.2 kB / 242.7 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.0031, allocations: 63.91 kB / 242.7 MB, free: 3.414 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.003316, allocations: 334.3 kB / 243 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.003438, allocations: 74.25 kB / 243.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.00359, allocations: 196.3 kB / 243.3 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.003709, allocations: 99.69 kB / 243.4 MB, free: 2.715 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.00374, allocations: 24 kB / 243.4 MB, free: 2.691 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.003769, allocations: 25.28 kB / 243.5 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.003803, allocations: 43.81 kB / 243.5 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.00386, allocations: 87.81 kB / 243.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.004037, allocations: 196.3 kB / 243.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.004049, allocations: 0 / 243.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004049, allocations: 0 / 243.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.004059, allocations: 7 kB / 243.8 MB, free: 2.344 MB / 234.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.0005244/0.004583, allocations: 0.5311 MB / 244.3 MB, free: 1.785 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.00461, allocations: 13 kB / 244.3 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.004663, allocations: 44.89 kB / 244.4 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.004838, allocations: 178.7 kB / 244.5 MB, free: 1.531 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.004853, allocations: 17.03 kB / 244.6 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.004887, allocations: 32.33 kB / 244.6 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.005065, allocations: 194.1 kB / 244.8 MB, free: 1.289 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.005081, allocations: 4.188 kB / 244.8 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.005099, allocations: 11.94 kB / 244.8 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.005108, allocations: 8 kB / 244.8 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.005202, allocations: 84.52 kB / 244.9 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.005686, allocations: 498.3 kB / 245.4 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.005858, allocations: 184.9 kB / 245.6 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.005912, allocations: 57.7 kB / 245.6 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.005926, allocations: 9.469 kB / 245.6 MB, free: 420 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.005948, allocations: 46.55 kB / 245.7 MB, free: 364 kB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.162e-06/0.005949, allocations: 0 / 245.7 MB, free: 364 kB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001348/0.007297, allocations: 1.203 MB / 246.9 MB, free: 15.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.007331, allocations: 81.11 kB / 246.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.007437, allocations: 179.1 kB / 247.1 MB, free: 14.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.007457, allocations: 29.7 kB / 247.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.007526, allocations: 136.8 kB / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.007615, allocations: 178.4 kB / 247.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.007685, allocations: 78.16 kB / 247.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.007766, allocations: 342.8 kB / 247.9 MB, free: 14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.007809, allocations: 36.98 kB / 247.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.00788, allocations: 96.81 kB / 248 MB, free: 13.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.008027, allocations: 175.8 kB / 248.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008028, allocations: 4 kB / 248.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001802/0.008208, allocations: 214.1 kB / 248.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.008222, allocations: 9.969 kB / 248.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.008228, allocations: 0 / 248.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.008244, allocations: 7.938 kB / 248.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.008512, allocations: 127.2 kB / 248.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.008518, allocations: 4 kB / 248.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.008567, allocations: 8 kB / 248.5 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.00858, allocations: 16.06 kB / 248.6 MB, free: 13.3 MB / 250.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 7.907e-05/0.008659, allocations: 133.7 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.008702, allocations: 39.91 kB / 248.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.008751, allocations: 37.95 kB / 248.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008755, allocations: 4 kB / 248.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.008757, allocations: 0 / 248.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.008762, allocations: 0 / 248.8 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.00966, allocations: 0.6099 MB / 249.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.009663, allocations: 4 kB / 249.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.009925, allocations: 119.8 kB / 249.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.009946, allocations: 19.86 kB / 249.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.009952, allocations: 7.938 kB / 249.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.009974, allocations: 12 kB / 249.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.009976, allocations: 0 / 249.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.009979, allocations: 4 kB / 249.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.01029, allocations: 465.7 kB / 250 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01031, allocations: 19.88 kB / 250 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.01039, allocations: 4 kB / 250 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.01042, allocations: 31.94 kB / 250 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01043, allocations: 8 kB / 250.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.01045, allocations: 42.41 kB / 250.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01045, allocations: 0 / 250.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.01065, allocations: 80 kB / 250.2 MB, free: 11.61 MB / 250.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 7.374e-05/0.01072, allocations: 92.36 kB / 250.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.0109, allocations: 197.4 kB / 250.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.01092, allocations: 11.92 kB / 250.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01103, allocations: 140.2 kB / 250.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.01153, allocations: 0.7153 MB / 251.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.0126, allocations: 0.6243 MB / 251.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.074e-05/0.01266, allocations: 101.6 kB / 252 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.01274, allocations: 34.95 kB / 252.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.01287, allocations: 115.3 kB / 252.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01287, allocations: 0 / 252.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of Templates: time 0.004978/0.01785, allocations: 3.479 MB / 255.7 MB, free: 5.98 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.679711915552616]