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.002009/0.002009, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.00229/0.00229, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 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.578/1.578, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 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 0.001609/0.001609, allocations: 43.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2491, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004141/0.2532, allocations: 2.509 MB / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007044/0.2539, allocations: 255.1 kB / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.2541, allocations: 11.94 kB / 425.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.2543, allocations: 47.56 kB / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.2545, allocations: 95.12 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.2548, allocations: 59.92 kB / 426.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.2552, allocations: 314.5 kB / 426.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.2554, allocations: 87.5 kB / 426.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2556, allocations: 119.6 kB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2558, allocations: 131.4 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.2558, allocations: 24 kB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.2559, allocations: 28 kB / 426.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.256, allocations: 51.84 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.2561, allocations: 151.2 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.2565, allocations: 315.9 kB / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2565, allocations: 0 / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2565, allocations: 0 / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2565, allocations: 4 kB / 427.3 MB, free: 10.49 MB / 334.1 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.0009324/0.2575, allocations: 0.4937 MB / 427.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2575, allocations: 8.031 kB / 427.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.2576, allocations: 32.75 kB / 427.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2579, allocations: 202 kB / 428 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.258, allocations: 21.03 kB / 428 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.258, allocations: 28.33 kB / 428 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.2585, allocations: 252.4 kB / 428.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.2585, allocations: 4.172 kB / 428.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2585, allocations: 15.94 kB / 428.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2585, allocations: 11.94 kB / 428.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.2588, allocations: 171.9 kB / 428.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.26, allocations: 0.7061 MB / 429.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.2604, allocations: 263.9 kB / 429.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.2606, allocations: 113.7 kB / 429.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.2606, allocations: 4 kB / 429.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2607, allocations: 43.12 kB / 429.6 MB, free: 8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.532e-06/0.2607, allocations: 0 / 429.6 MB, free: 8 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002763/0.2634, allocations: 1.425 MB / 431 MB, free: 6.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.2635, allocations: 89.11 kB / 431.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.2637, allocations: 179.2 kB / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2637, allocations: 29.7 kB / 431.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2638, allocations: 144.8 kB / 431.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.264, allocations: 182.4 kB / 431.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2641, allocations: 86.08 kB / 431.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2643, allocations: 338.8 kB / 432.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2645, allocations: 108.9 kB / 432.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2647, allocations: 156.8 kB / 432.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.2651, allocations: 283.9 kB / 432.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2651, allocations: 0 / 432.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005692/0.2657, allocations: 374 kB / 433 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2657, allocations: 4 kB / 433 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2657, allocations: 0 / 433 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2657, allocations: 7.984 kB / 433 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.2661, allocations: 103.8 kB / 433.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2662, allocations: 4 kB / 433.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2663, allocations: 12 kB / 433.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2663, allocations: 16 kB / 433.1 MB, free: 4.324 MB / 334.1 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.000152/0.2664, allocations: 145.8 kB / 433.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.2665, allocations: 35.86 kB / 433.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2666, allocations: 41.95 kB / 433.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2666, allocations: 4 kB / 433.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2666, allocations: 0 / 433.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2666, allocations: 3.984 kB / 433.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.2681, allocations: 0.9221 MB / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2681, allocations: 0 / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.2685, allocations: 95.89 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2685, allocations: 4 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.2686, allocations: 15.94 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2686, allocations: 0 / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2686, allocations: 4 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.2694, allocations: 0.6433 MB / 435 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.2695, allocations: 27.75 kB / 435 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.2695, allocations: 12 kB / 435.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2697, allocations: 8 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.2697, allocations: 31.94 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.2698, allocations: 16 kB / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2699, allocations: 128.4 kB / 435.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2699, allocations: 11.88 kB / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.2703, allocations: 80 kB / 435.3 MB, free: 2.016 MB / 334.1 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.0001317/0.2704, allocations: 111.2 kB / 435.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.2709, allocations: 278.6 kB / 435.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2709, allocations: 0 / 435.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2711, allocations: 146.4 kB / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.2717, allocations: 64.16 kB / 435.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2735, allocations: 1.01 MB / 436.9 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.2739, allocations: 0.7764 MB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.2741, allocations: 38.94 kB / 437.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.2742, allocations: 27.44 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2742, allocations: 0 / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Templates: time 0.007959/0.2821, allocations: 3.349 MB / 441.1 MB, free: 12.17 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] 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.713667243719101]