Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002662/0.002662, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.89 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2952, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004415/0.2996, allocations: 2.502 MB / 434.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007836/0.3003, allocations: 263.1 kB / 435.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.3006, allocations: 7.938 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.3008, allocations: 39.58 kB / 435.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.3011, allocations: 99.12 kB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3013, allocations: 59.92 kB / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.3017, allocations: 322.5 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.3019, allocations: 75.58 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3021, allocations: 123.6 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.3023, allocations: 127.4 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.3023, allocations: 24 kB / 436.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.3024, allocations: 28 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.3024, allocations: 55.83 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3026, allocations: 143.3 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.303, allocations: 331.9 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.303, allocations: 0 / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.303, allocations: 0 / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.303, allocations: 0 / 436.6 MB, free: 2.582 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.0008793/0.3039, allocations: 0.4937 MB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.304, allocations: 8.031 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.304, allocations: 32.75 kB / 437.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3044, allocations: 190.8 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.3044, allocations: 21.03 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.3045, allocations: 28.38 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.3049, allocations: 260.3 kB / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.305, allocations: 192 / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.305, allocations: 19.94 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.305, allocations: 8 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3053, allocations: 175.8 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3064, allocations: 0.7141 MB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.3069, allocations: 259.8 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.3071, allocations: 113.9 kB / 438.9 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3071, allocations: 4 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3071, allocations: 46.55 kB / 438.9 MB, free: 88 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.463e-06/0.3071, allocations: 0 / 438.9 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002694/0.3098, allocations: 1.413 MB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.3099, allocations: 89.05 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3101, allocations: 187.1 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.3101, allocations: 37.64 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3102, allocations: 140.8 kB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3103, allocations: 186.4 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3105, allocations: 78.19 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3106, allocations: 338.8 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3108, allocations: 101 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.311, allocations: 164.8 kB / 441.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.3114, allocations: 282.1 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3114, allocations: 0 / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005433/0.312, allocations: 370 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.312, allocations: 4 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.312, allocations: 0 / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.312, allocations: 4 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.3124, allocations: 103.8 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3124, allocations: 4 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3125, allocations: 12 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3125, allocations: 12.06 kB / 442.4 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.0001574/0.3127, allocations: 153.8 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.3128, allocations: 39.73 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.923e-05/0.3129, allocations: 37.95 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3129, allocations: 4 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3129, allocations: 0 / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3129, allocations: 3.984 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.3142, allocations: 0.9159 MB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3142, allocations: 3.984 kB / 443.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.3146, allocations: 95.84 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3146, allocations: 4 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3147, allocations: 11.94 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.3147, allocations: 7.984 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3147, allocations: 4 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.3155, allocations: 0.6395 MB / 444.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3155, allocations: 27.8 kB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.3156, allocations: 11.94 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3157, allocations: 12 kB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.3158, allocations: 35.94 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3158, allocations: 8 kB / 444.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3159, allocations: 135.1 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3159, allocations: 0 / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.3163, allocations: 80 kB / 444.6 MB, free: 10.12 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.0001474/0.3164, allocations: 107.2 kB / 444.8 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.3169, allocations: 283.6 kB / 445 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3169, allocations: 4.125 kB / 445 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.3172, allocations: 140.6 kB / 445.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.3177, allocations: 73.03 kB / 445.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3194, allocations: 1.047 MB / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.3199, allocations: 0.7726 MB / 447.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.32, allocations: 31.44 kB / 447.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.32, allocations: 0 / 447.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Templates: time 0.007268/0.3272, allocations: 3.73 MB / 450.8 MB, free: 3.867 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.819974995916709]