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.001247/0.001247, allocations: 111.8 kB / 19.18 MB, free: 3.883 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.001385/0.001385, allocations: 204.9 kB / 22.13 MB, free: 0.9336 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.461/1.461, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.001829/0.001829, allocations: 63.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.101, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003768/0.1047, allocations: 2.502 MB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.1052, allocations: 251 kB / 430.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1053, allocations: 12 kB / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1055, allocations: 55.44 kB / 430.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1057, allocations: 87.19 kB / 430.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.1058, allocations: 59.92 kB / 430.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.1062, allocations: 326.5 kB / 431.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1064, allocations: 75.12 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1065, allocations: 119.6 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1067, allocations: 127.5 kB / 431.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1068, allocations: 24 kB / 431.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.1068, allocations: 24 kB / 431.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.1069, allocations: 59.77 kB / 431.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.107, allocations: 147.3 kB / 431.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1074, allocations: 326.5 kB / 432 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1074, allocations: 0 / 432 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1074, allocations: 0 / 432 MB, free: 336 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1074, allocations: 0 / 432 MB, free: 336 kB / 350.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.1801/0.2875, allocations: 0.5634 MB / 432.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2875, allocations: 9.781 kB / 432.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.2876, allocations: 33.09 kB / 432.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2879, allocations: 253.9 kB / 432.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.288, allocations: 17.03 kB / 432.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.288, allocations: 33.09 kB / 432.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.2884, allocations: 253.7 kB / 433.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.2885, allocations: 2.562 kB / 433.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.2885, allocations: 14.97 kB / 433.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2885, allocations: 8.922 kB / 433.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.2888, allocations: 171.6 kB / 433.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.2896, allocations: 0.7515 MB / 434.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.29, allocations: 260.4 kB / 434.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2901, allocations: 114.8 kB / 434.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2902, allocations: 8.5 kB / 434.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2902, allocations: 35.47 kB / 434.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.684e-06/0.2902, allocations: 0 / 434.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002195/0.2924, allocations: 1.714 MB / 436.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2924, allocations: 82.61 kB / 436.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2925, allocations: 190.1 kB / 436.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2925, allocations: 31.73 kB / 436.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.2926, allocations: 139.6 kB / 436.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.2927, allocations: 186.6 kB / 436.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.2928, allocations: 75.95 kB / 436.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.2928, allocations: 338.9 kB / 437.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.293, allocations: 102.3 kB / 437.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.2931, allocations: 159.8 kB / 437.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.2935, allocations: 290.2 kB / 437.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2935, allocations: 0 / 437.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00045/0.2939, allocations: 365.6 kB / 438.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2939, allocations: 8.828 kB / 438.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2939, allocations: 4.125 kB / 438.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.294, allocations: 2.719 kB / 438.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.2943, allocations: 101.3 kB / 438.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.2944, allocations: 3.562 kB / 438.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2945, allocations: 11.08 kB / 438.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2945, allocations: 15.81 kB / 438.3 MB, free: 8.246 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 9.916e-05/0.2946, allocations: 150.2 kB / 438.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.2947, allocations: 34.5 kB / 438.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.2947, allocations: 40.8 kB / 438.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2947, allocations: 6.453 kB / 438.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2947, allocations: 0.6562 kB / 438.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2948, allocations: 6.016 kB / 438.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.2957, allocations: 0.943 MB / 439.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2957, allocations: 1.344 kB / 439.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.2962, allocations: 101.9 kB / 439.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2962, allocations: 2.531 kB / 439.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2962, allocations: 17.47 kB / 439.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2962, allocations: 4.125 kB / 439.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2962, allocations: 1.156 kB / 439.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.2968, allocations: 0.6374 MB / 440.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.2969, allocations: 104.4 kB / 440.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2969, allocations: 11.98 kB / 440.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2971, allocations: 10.91 kB / 440.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.2971, allocations: 31.31 kB / 440.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2972, allocations: 13.44 kB / 440.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.2972, allocations: 130 kB / 440.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2972, allocations: 6.016 kB / 440.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.2976, allocations: 80.75 kB / 440.6 MB, free: 6.793 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 9.284e-05/0.2977, allocations: 114.5 kB / 440.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.2981, allocations: 278.7 kB / 441 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2981, allocations: 1.156 kB / 441 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.2983, allocations: 147.1 kB / 441.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.2988, allocations: 77.25 kB / 441.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3, allocations: 1.036 MB / 442.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.3002, allocations: 0.7744 MB / 443 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.3003, allocations: 30.28 kB / 443 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3003, allocations: 1.281 kB / 443 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Templates: time 0.006247/0.3066, allocations: 3.74 MB / 446.8 MB, free: 4.723 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.084275773959234]