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.001318/0.001318, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001232/0.001232, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.377/1.377, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001529/0.001529, allocations: 55.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003712/0.249, allocations: 2.492 MB / 423.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005108/0.2495, allocations: 259.1 kB / 423.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2496, allocations: 7.938 kB / 423.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.2498, allocations: 47.5 kB / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.25, allocations: 95.19 kB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.2501, allocations: 63.91 kB / 423.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.2505, allocations: 322.5 kB / 424.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.2507, allocations: 78.89 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2508, allocations: 123.6 kB / 424.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.251, allocations: 131.4 kB / 424.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.251, allocations: 28 kB / 424.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-05/0.2511, allocations: 28 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2511, allocations: 51.84 kB / 424.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2513, allocations: 147.3 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.2516, allocations: 313.1 kB / 425 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2517, allocations: 0 / 425 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2517, allocations: 0 / 425 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2517, allocations: 0 / 425 MB, free: 10.95 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.0008895/0.2525, allocations: 0.5728 MB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2526, allocations: 8.031 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.2527, allocations: 32.75 kB / 425.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.253, allocations: 255.9 kB / 425.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.253, allocations: 20.94 kB / 425.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.2531, allocations: 36.33 kB / 425.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.2535, allocations: 259.1 kB / 426.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.2535, allocations: 192 / 426.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.2536, allocations: 19.92 kB / 426.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2536, allocations: 8 kB / 426.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.2539, allocations: 171.9 kB / 426.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.255, allocations: 0.7461 MB / 427.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.2554, allocations: 264.4 kB / 427.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.2556, allocations: 113.7 kB / 427.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2556, allocations: 8 kB / 427.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2556, allocations: 43.12 kB / 427.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.472e-06/0.2556, allocations: 0 / 427.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002818/0.2585, allocations: 1.709 MB / 429.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.2585, allocations: 85.05 kB / 429.3 MB, free: 6.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2587, allocations: 178.3 kB / 429.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.2587, allocations: 41.7 kB / 429.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2588, allocations: 144.8 kB / 429.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.259, allocations: 186.4 kB / 429.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2591, allocations: 78.22 kB / 429.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2593, allocations: 334.8 kB / 430.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2594, allocations: 109 kB / 430.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2597, allocations: 157.5 kB / 430.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.2601, allocations: 287.4 kB / 430.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2601, allocations: 0 / 430.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000535/0.2606, allocations: 370 kB / 431.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2606, allocations: 11.98 kB / 431.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2607, allocations: 0 / 431.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2607, allocations: 4.062 kB / 431.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.2611, allocations: 103.8 kB / 431.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2611, allocations: 7.984 kB / 431.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2612, allocations: 8 kB / 431.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.2612, allocations: 16 kB / 431.3 MB, free: 4.199 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.0001487/0.2614, allocations: 150.2 kB / 431.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.2614, allocations: 31.8 kB / 431.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.2615, allocations: 33.88 kB / 431.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2615, allocations: 7.984 kB / 431.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2615, allocations: 8 kB / 431.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2615, allocations: 0 / 431.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.2629, allocations: 0.9504 MB / 432.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2629, allocations: 0 / 432.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.2633, allocations: 91.89 kB / 432.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2633, allocations: 8.062 kB / 432.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2633, allocations: 15.94 kB / 432.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2633, allocations: 4 kB / 432.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2633, allocations: 4 kB / 432.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.2642, allocations: 0.6357 MB / 433.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.2643, allocations: 108.9 kB / 433.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.2643, allocations: 12 kB / 433.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2645, allocations: 15.98 kB / 433.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.2646, allocations: 19.97 kB / 433.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2646, allocations: 19.98 kB / 433.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.2647, allocations: 140.2 kB / 433.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2647, allocations: 0 / 433.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.2651, allocations: 76 kB / 433.6 MB, free: 1.77 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.0001449/0.2652, allocations: 119.1 kB / 433.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.2657, allocations: 278.7 kB / 434 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2657, allocations: 0 / 434 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.266, allocations: 142.4 kB / 434.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.2666, allocations: 74.58 kB / 434.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.2681, allocations: 1.008 MB / 435.2 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.2686, allocations: 0.7802 MB / 436 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.2687, allocations: 30.97 kB / 436.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.2688, allocations: 27.44 kB / 436.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2688, allocations: 0 / 436.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Templates: time 0.007296/0.2761, allocations: 3.236 MB / 439.3 MB, free: 12.04 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.360586159862578]