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.001353/0.001353, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002135/0.002135, allocations: 205.3 kB / 24.48 MB, free: 3.695 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001555/0.001555, allocations: 43.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2783, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003846/0.2821, allocations: 2.323 MB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006101/0.2827, allocations: 255.1 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2828, allocations: 4 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.283, allocations: 51.5 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.2832, allocations: 95.19 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2834, allocations: 59.92 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.2837, allocations: 322.4 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.2839, allocations: 78.53 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2841, allocations: 119.6 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.2843, allocations: 131.4 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.2843, allocations: 28 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.2844, allocations: 27.94 kB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.2844, allocations: 59.77 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.2846, allocations: 123.4 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.285, allocations: 322.4 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.285, allocations: 0 / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.285, allocations: 0 / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.285, allocations: 0 / 436.3 MB, free: 2.746 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.0009032/0.2859, allocations: 0.4898 MB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2859, allocations: 12.03 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.286, allocations: 32.75 kB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.2864, allocations: 198.8 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.2864, allocations: 17.03 kB / 437 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.2865, allocations: 28.38 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.2869, allocations: 256.4 kB / 437.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.287, allocations: 4.125 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.287, allocations: 19.92 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.287, allocations: 8 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.2873, allocations: 167.9 kB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.2883, allocations: 0.6172 MB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.2888, allocations: 259.7 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.289, allocations: 117.9 kB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.289, allocations: 4 kB / 438.5 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.289, allocations: 38.56 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.864e-06/0.289, allocations: 0 / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002783/0.2918, allocations: 1.416 MB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.2919, allocations: 81.11 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2921, allocations: 168.1 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.2921, allocations: 37.64 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2922, allocations: 148.7 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2924, allocations: 182.4 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2925, allocations: 78.19 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2926, allocations: 334.8 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.2928, allocations: 109 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.293, allocations: 156.8 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.2935, allocations: 278.1 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2935, allocations: 0 / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005678/0.294, allocations: 370 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.294, allocations: 7.938 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2941, allocations: 4 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2941, allocations: 0 / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.2945, allocations: 111.8 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2945, allocations: 3.984 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.2946, allocations: 12 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.2947, allocations: 16 kB / 442 MB, free: 12.71 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.0001651/0.2948, allocations: 149.8 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.2949, allocations: 39.84 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.832e-05/0.295, allocations: 33.97 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.295, allocations: 4 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.295, allocations: 0 / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.295, allocations: 7.984 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2963, allocations: 0.8338 MB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2963, allocations: 0 / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.2968, allocations: 87.91 kB / 443.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.2968, allocations: 12.05 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.2968, allocations: 12 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2968, allocations: 0 / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.2968, allocations: 7.938 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.2976, allocations: 0.6356 MB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2977, allocations: 23.81 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.2977, allocations: 12 kB / 443.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.2979, allocations: 7.938 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.298, allocations: 35.88 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.298, allocations: 12 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.2981, allocations: 127.5 kB / 444 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2981, allocations: 4 kB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.2985, allocations: 76 kB / 444.1 MB, free: 10.53 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.0001432/0.2986, allocations: 111.2 kB / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004907/0.2991, allocations: 282.6 kB / 444.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2991, allocations: 0 / 444.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.2993, allocations: 146.6 kB / 444.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.2999, allocations: 69.98 kB / 444.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3015, allocations: 1.05 MB / 445.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.3017, allocations: 164.8 kB / 445.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.3018, allocations: 31.44 kB / 445.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3018, allocations: 0 / 445.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Templates: time 0.006449/0.3083, allocations: 3.819 MB / 449.8 MB, free: 4.805 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/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: 7.276960811985191]