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.0008632/0.0008632, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003618/0.003618, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8214/0.8214, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.172e-06/1.172e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.757e-05, allocations: 3.125 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002091/0.002108, allocations: 2.331 MB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.002528, allocations: 255 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.00262, allocations: 7.938 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.002747, allocations: 43.58 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.002863, allocations: 99.06 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.003003, allocations: 67.84 kB / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.003211, allocations: 338.3 kB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.003351, allocations: 71.55 kB / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.003479, allocations: 179.7 kB / 329.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.003584, allocations: 99.69 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.003618, allocations: 24 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.003642, allocations: 24 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.003681, allocations: 63.73 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.003744, allocations: 95.81 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.003977, allocations: 319 kB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00398, allocations: 4 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00398, allocations: 0 / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.003985, allocations: 3.938 kB / 329.8 MB, free: 11.39 MB / 298.7 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.0005117/0.004497, allocations: 0.4898 MB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.004527, allocations: 11.98 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.004571, allocations: 32.75 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.004783, allocations: 197.3 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.0048, allocations: 17.03 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.004837, allocations: 36.33 kB / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.005104, allocations: 252.4 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.005118, allocations: 192 / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.005137, allocations: 12.38 kB / 330.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.005143, allocations: 4.375 kB / 330.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.005338, allocations: 187.7 kB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.005938, allocations: 0.6092 MB / 331.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.006205, allocations: 261 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.006315, allocations: 113.7 kB / 331.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.00633, allocations: 4 kB / 332 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.006349, allocations: 38.5 kB / 332 MB, free: 9.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.103e-06/0.00635, allocations: 7.938 kB / 332 MB, free: 9 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001531/0.007881, allocations: 1.416 MB / 333.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.007917, allocations: 85.11 kB / 333.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.008015, allocations: 168.1 kB / 333.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.008032, allocations: 33.7 kB / 333.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.008093, allocations: 144.8 kB / 333.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.008175, allocations: 182.4 kB / 334 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.00824, allocations: 74.19 kB / 334.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.008324, allocations: 338.8 kB / 334.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.008434, allocations: 105 kB / 334.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.00857, allocations: 156.8 kB / 334.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.008828, allocations: 278.2 kB / 334.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008829, allocations: 0 / 334.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000325/0.009154, allocations: 374 kB / 335.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.009166, allocations: 4 kB / 335.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009171, allocations: 0 / 335.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.009185, allocations: 8 kB / 335.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.00939, allocations: 103.9 kB / 335.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.009396, allocations: 4 kB / 335.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.009451, allocations: 12 kB / 335.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.009466, allocations: 16 kB / 335.5 MB, free: 5.359 MB / 298.7 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.389e-05/0.00956, allocations: 149.7 kB / 335.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.0096, allocations: 27.86 kB / 335.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.009645, allocations: 37.95 kB / 335.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.009649, allocations: 7.938 kB / 335.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.009654, allocations: 0 / 335.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.009659, allocations: 7.984 kB / 335.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.01036, allocations: 0.8186 MB / 336.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01037, allocations: 4 kB / 336.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.01058, allocations: 99.89 kB / 336.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01058, allocations: 0 / 336.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.0106, allocations: 15.94 kB / 336.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.0106, allocations: 4 kB / 336.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.0106, allocations: 3.984 kB / 336.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.01109, allocations: 0.6534 MB / 337.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01111, allocations: 27.81 kB / 337.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01113, allocations: 12 kB / 337.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.01122, allocations: 12 kB / 337.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.01125, allocations: 35.81 kB / 337.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01126, allocations: 12 kB / 337.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.01132, allocations: 123.5 kB / 337.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01132, allocations: 0 / 337.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000245/0.01156, allocations: 87.94 kB / 337.6 MB, free: 3.148 MB / 298.7 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 7.535e-05/0.01164, allocations: 107.2 kB / 337.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.01193, allocations: 279.1 kB / 338 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01193, allocations: 0 / 338 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01206, allocations: 147.6 kB / 338.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.0124, allocations: 69.81 kB / 338.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008213/0.01322, allocations: 0.8396 MB / 339 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01332, allocations: 172.6 kB / 339.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.01338, allocations: 32.5 kB / 339.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01338, allocations: 0 / 339.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of Templates: time 0.003596/0.01698, allocations: 3.839 MB / 343.1 MB, free: 13.61 MB / 314.7 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/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_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: 4.210127502679825]