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.001838/0.001838, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.001867/0.001867, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.552/1.552, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.894e-06/1.894e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.3e-05, allocations: 5.688 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004374/0.004407, allocations: 2.448 MB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.005012, allocations: 251 kB / 270 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.005133, allocations: 11.94 kB / 270 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.005307, allocations: 43.58 kB / 270 MB, free: 4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.005508, allocations: 95.06 kB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.005704, allocations: 67.91 kB / 270.2 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.006135, allocations: 346.1 kB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.006325, allocations: 67.64 kB / 270.6 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.006573, allocations: 179.6 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.006771, allocations: 99.69 kB / 270.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.006831, allocations: 24 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.006887, allocations: 24 kB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.006948, allocations: 51.83 kB / 271 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.007085, allocations: 107.7 kB / 271.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.007521, allocations: 322.9 kB / 271.4 MB, free: 2.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.007528, allocations: 4 kB / 271.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007529, allocations: 4 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.007537, allocations: 0 / 271.4 MB, free: 2.629 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.001058/0.008595, allocations: 0.6089 MB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.008633, allocations: 8.922 kB / 272 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.008759, allocations: 64.69 kB / 272.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.009084, allocations: 196.2 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.009116, allocations: 21.03 kB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.009178, allocations: 32.33 kB / 272.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.009667, allocations: 262 kB / 272.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.009689, allocations: 4.188 kB / 272.6 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.009717, allocations: 8.375 kB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.009729, allocations: 12.31 kB / 272.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.01009, allocations: 179.8 kB / 272.8 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01135, allocations: 0.7598 MB / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.01186, allocations: 285.9 kB / 273.8 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.01209, allocations: 118.1 kB / 273.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.01212, allocations: 8 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.01215, allocations: 37.39 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.01216, allocations: 0 / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.003014/0.01517, allocations: 1.485 MB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.01524, allocations: 85.05 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.01549, allocations: 237.9 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.01553, allocations: 33.7 kB / 275.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.01569, allocations: 199.5 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.01588, allocations: 198.3 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.01603, allocations: 91.86 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003091/0.01634, allocations: 0.5235 MB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.01655, allocations: 101 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.01684, allocations: 176.2 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.01735, allocations: 317.3 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01735, allocations: 0 / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006689/0.01802, allocations: 390 kB / 277.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.01804, allocations: 4 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.01805, allocations: 3.984 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.01808, allocations: 7.938 kB / 277.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.0185, allocations: 95.91 kB / 277.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01851, allocations: 4 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01863, allocations: 15.98 kB / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.01866, allocations: 12 kB / 277.9 MB, free: 11.73 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 0.0002042/0.01886, allocations: 200.5 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.01896, allocations: 43.86 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.01907, allocations: 38 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.01908, allocations: 15.92 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.01909, allocations: 0 / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.0191, allocations: 3.984 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.02068, allocations: 0.988 MB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.02069, allocations: 0 / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.02112, allocations: 91.89 kB / 279.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.02113, allocations: 4 kB / 279.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.02116, allocations: 16.06 kB / 279.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.02117, allocations: 7.938 kB / 279.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02117, allocations: 0 / 279.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.02221, allocations: 0.7602 MB / 280.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.02226, allocations: 23.86 kB / 280.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.0223, allocations: 11.94 kB / 280.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.02247, allocations: 8 kB / 280.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.02254, allocations: 39.81 kB / 280.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.02256, allocations: 12 kB / 280.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.02271, allocations: 172.2 kB / 280.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02271, allocations: 4 kB / 280.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.0231, allocations: 80 kB / 280.4 MB, free: 9.129 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 0.0001694/0.02327, allocations: 111.2 kB / 280.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.02385, allocations: 316.7 kB / 280.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.02385, allocations: 0 / 280.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.02412, allocations: 175.1 kB / 281 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.02474, allocations: 79.17 kB / 281.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.02629, allocations: 0.8602 MB / 282 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.0265, allocations: 168.8 kB / 282.1 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.02663, allocations: 26.97 kB / 282.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.02671, allocations: 28.5 kB / 282.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02671, allocations: 0 / 282.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Templates: time 0.008193/0.03491, allocations: 3.026 MB / 285.2 MB, free: 4.32 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.644797303015366]