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.001322/0.001322, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001478/0.001478, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001767/0.001767, allocations: 51.92 kB / 378.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2619, allocations: 53.37 MB / 431.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004388/0.2662, allocations: 2.51 MB / 434.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.2668, allocations: 255.1 kB / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2669, allocations: 7.938 kB / 434.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.2671, allocations: 47.52 kB / 434.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2673, allocations: 95.19 kB / 434.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.2674, allocations: 59.92 kB / 434.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.2678, allocations: 326.4 kB / 434.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.268, allocations: 71.58 kB / 435 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.2682, allocations: 115.6 kB / 435.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2684, allocations: 139.4 kB / 435.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.2684, allocations: 24 kB / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.2685, allocations: 24 kB / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2686, allocations: 55.83 kB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2688, allocations: 147.3 kB / 435.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.2692, allocations: 315.9 kB / 435.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2692, allocations: 4 kB / 435.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2692, allocations: 0 / 435.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2692, allocations: 0 / 435.8 MB, free: 2.605 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.0008493/0.2701, allocations: 0.4976 MB / 436.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2701, allocations: 12.03 kB / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.2702, allocations: 32.75 kB / 436.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.2705, allocations: 190.8 kB / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2705, allocations: 25.03 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.2706, allocations: 28.31 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.271, allocations: 260.3 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.271, allocations: 8.125 kB / 436.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.271, allocations: 11.94 kB / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2711, allocations: 8 kB / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.2714, allocations: 171.9 kB / 437 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.2725, allocations: 0.7141 MB / 437.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.273, allocations: 261.2 kB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2732, allocations: 125.9 kB / 438.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2732, allocations: 4 kB / 438.1 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2733, allocations: 34.56 kB / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.482e-06/0.2733, allocations: 0 / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002663/0.2759, allocations: 1.429 MB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.276, allocations: 85.05 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2762, allocations: 188.1 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.2762, allocations: 33.7 kB / 439.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2764, allocations: 140.8 kB / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.2765, allocations: 182.3 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2766, allocations: 78.14 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.2768, allocations: 338.8 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.277, allocations: 109 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.2773, allocations: 156.8 kB / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.2777, allocations: 282.1 kB / 441.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2777, allocations: 0 / 441.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006175/0.2783, allocations: 370 kB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2783, allocations: 7.984 kB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2783, allocations: 8.062 kB / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2783, allocations: 0 / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.2788, allocations: 103.8 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2788, allocations: 3.984 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2789, allocations: 8 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2789, allocations: 16 kB / 441.6 MB, free: 12.43 MB / 350.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.0001562/0.2791, allocations: 145.8 kB / 441.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.2791, allocations: 39.75 kB / 441.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.2792, allocations: 33.97 kB / 441.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.2792, allocations: 11.98 kB / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2792, allocations: 0 / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.2793, allocations: 4 kB / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.2806, allocations: 0.9077 MB / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2806, allocations: 0 / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.281, allocations: 103.9 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.281, allocations: 4 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.2811, allocations: 15.94 kB / 442.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2811, allocations: 4 kB / 442.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2811, allocations: 0 / 442.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.2819, allocations: 0.6461 MB / 443.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.2819, allocations: 23.8 kB / 443.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.282, allocations: 15.94 kB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.2822, allocations: 7.984 kB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2822, allocations: 27.95 kB / 443.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2822, allocations: 12 kB / 443.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2823, allocations: 139.2 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2823, allocations: 0 / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.2827, allocations: 80 kB / 443.8 MB, free: 10.13 MB / 350.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.0001303/0.2828, allocations: 115.3 kB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.2833, allocations: 278.6 kB / 444.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2834, allocations: 0 / 444.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.2836, allocations: 147.8 kB / 444.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.2842, allocations: 68.14 kB / 444.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2858, allocations: 1.01 MB / 445.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.2863, allocations: 0.7765 MB / 446.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.2864, allocations: 30.97 kB / 446.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.2865, allocations: 27.44 kB / 446.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2865, allocations: 0 / 446.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of Templates: time 0.007979/0.2944, allocations: 3.358 MB / 449.6 MB, free: 4.281 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.612069856841117]