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.001204/0.001204, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001366/0.001366, allocations: 214.5 kB / 24.48 MB, free: 3.93 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.003103/0.003103, allocations: 67.83 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3555, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004219/0.3597, allocations: 2.312 MB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007587/0.3605, allocations: 259.1 kB / 434.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.3607, allocations: 7.938 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3609, allocations: 47.56 kB / 435 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3612, allocations: 95.19 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.3614, allocations: 59.86 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.3619, allocations: 318.5 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.362, allocations: 71.23 kB / 435.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.3622, allocations: 131.5 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.3624, allocations: 111.4 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.3625, allocations: 28 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.3625, allocations: 24 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.3626, allocations: 55.78 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3627, allocations: 127.4 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.3631, allocations: 313.7 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3631, allocations: 4 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3631, allocations: 0 / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3631, allocations: 0 / 436.3 MB, free: 2.594 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.0009251/0.3641, allocations: 0.4937 MB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3641, allocations: 15.98 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.3642, allocations: 32.75 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.3646, allocations: 190.8 kB / 437 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3646, allocations: 24.97 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.3647, allocations: 28.36 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.3652, allocations: 264.4 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3652, allocations: 4.188 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.3653, allocations: 19.92 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3653, allocations: 4 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.3656, allocations: 167.9 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3667, allocations: 0.6171 MB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.3671, allocations: 253.4 kB / 438.4 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3673, allocations: 129.8 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3673, allocations: 4 kB / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3673, allocations: 34.56 kB / 438.6 MB, free: 204 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/0.3673, allocations: 0 / 438.6 MB, free: 204 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.003077/0.3704, allocations: 1.419 MB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.3705, allocations: 85.11 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.3708, allocations: 163.6 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.3708, allocations: 37.7 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3709, allocations: 140.8 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.3711, allocations: 182.3 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3712, allocations: 78.19 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3714, allocations: 334.8 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3716, allocations: 105 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.3719, allocations: 156.8 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.3723, allocations: 290.1 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3723, allocations: 3.938 kB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005883/0.3729, allocations: 366 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3729, allocations: 7.938 kB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.373, allocations: 0 / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.373, allocations: 4 kB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.3734, allocations: 99.89 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.3734, allocations: 8.062 kB / 442 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.3735, allocations: 12 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.3735, allocations: 12 kB / 442 MB, free: 12.56 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.0001717/0.3737, allocations: 161.6 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.3738, allocations: 31.8 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.3739, allocations: 33.97 kB / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3739, allocations: 8 kB / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3739, allocations: 0 / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3739, allocations: 3.984 kB / 442.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.3754, allocations: 0.8344 MB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3754, allocations: 0 / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.3758, allocations: 95.91 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.3758, allocations: 3.984 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.3759, allocations: 12 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.3759, allocations: 7.938 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.3759, allocations: 3.938 kB / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.3768, allocations: 0.6356 MB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3769, allocations: 23.81 kB / 443.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3769, allocations: 12.06 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3771, allocations: 15.94 kB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3771, allocations: 35.88 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3772, allocations: 12 kB / 444 MB, free: 10.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.3773, allocations: 123.5 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3773, allocations: 0 / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.3777, allocations: 76 kB / 444.1 MB, free: 10.36 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.0001543/0.3778, allocations: 115.2 kB / 444.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.3783, allocations: 275.6 kB / 444.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3784, allocations: 4 kB / 444.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.3786, allocations: 148.5 kB / 444.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.3792, allocations: 63.23 kB / 444.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.381, allocations: 1.05 MB / 445.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.3812, allocations: 164.8 kB / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3813, allocations: 31.44 kB / 446 MB, free: 8.461 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3813, allocations: 0 / 446 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Templates: time 0.00735/0.3887, allocations: 3.821 MB / 449.8 MB, free: 4.641 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.376196983270347]