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.001424/0.001424, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001564/0.001564, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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 1.873e-06/1.873e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.164e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004036/0.004067, allocations: 2.333 MB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.004956, allocations: 259 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.005079, allocations: 7.938 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.005251, allocations: 39.58 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.005462, allocations: 99.12 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.005673, allocations: 67.83 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.006084, allocations: 334.2 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.006283, allocations: 71.58 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.006543, allocations: 183.6 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.006726, allocations: 91.7 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.006779, allocations: 28 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-05/0.006835, allocations: 28 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.006902, allocations: 55.81 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.007037, allocations: 99.75 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.007478, allocations: 322.9 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.007482, allocations: 0 / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007484, allocations: 0 / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.00749, allocations: 0 / 276.3 MB, free: 13.84 MB / 266.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.0009305/0.008421, allocations: 0.4937 MB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.00846, allocations: 12.03 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.008576, allocations: 52.75 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.008939, allocations: 185.3 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.008965, allocations: 17.03 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.009035, allocations: 36.33 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.009518, allocations: 256.3 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.009536, allocations: 4.188 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.009567, allocations: 12.38 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.009578, allocations: 8.375 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.009903, allocations: 175.8 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.011, allocations: 0.6172 MB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.01147, allocations: 256.9 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.01167, allocations: 118.3 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.0117, allocations: 8 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.01175, allocations: 42.47 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.343e-06/0.01175, allocations: 0 / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.003/0.01475, allocations: 1.431 MB / 280 MB, free: 9.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.01483, allocations: 89.05 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.01503, allocations: 164.1 kB / 280.2 MB, free: 9.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.01506, allocations: 33.7 kB / 280.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01519, allocations: 140.8 kB / 280.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.01538, allocations: 186.4 kB / 280.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.01551, allocations: 74.2 kB / 280.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.01571, allocations: 334.8 kB / 281 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.01591, allocations: 105 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.01616, allocations: 152.8 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.01664, allocations: 290.1 kB / 281.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01664, allocations: 0 / 281.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009222/0.01756, allocations: 382.3 kB / 281.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.01758, allocations: 11.98 kB / 281.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01759, allocations: 0 / 281.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/0.01762, allocations: 7.938 kB / 281.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.01804, allocations: 99.84 kB / 282 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.01806, allocations: 7.984 kB / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01819, allocations: 12.06 kB / 282 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.01821, allocations: 12 kB / 282 MB, free: 7.758 MB / 266.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 0.0001876/0.0184, allocations: 153.7 kB / 282.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.01849, allocations: 39.86 kB / 282.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.596e-05/0.01859, allocations: 37.95 kB / 282.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.0186, allocations: 11.94 kB / 282.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.01861, allocations: 0 / 282.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.01862, allocations: 3.984 kB / 282.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.02005, allocations: 0.8352 MB / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02006, allocations: 0 / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.0205, allocations: 91.89 kB / 283.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.0205, allocations: 4 kB / 283.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.02053, allocations: 12 kB / 283.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.02054, allocations: 4 kB / 283.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.02054, allocations: 3.938 kB / 283.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.02149, allocations: 0.649 MB / 283.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.02153, allocations: 23.81 kB / 283.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.02157, allocations: 16.06 kB / 283.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.02176, allocations: 11.94 kB / 283.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.02181, allocations: 35.88 kB / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.02184, allocations: 12 kB / 284 MB, free: 5.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.02196, allocations: 123.5 kB / 284.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02196, allocations: 3.938 kB / 284.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004076/0.02237, allocations: 76 kB / 284.2 MB, free: 5.543 MB / 266.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 0.0001617/0.02253, allocations: 115.2 kB / 284.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.02307, allocations: 290.2 kB / 284.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02307, allocations: 0 / 284.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.0233, allocations: 139.8 kB / 284.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.02394, allocations: 60.12 kB / 284.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.02554, allocations: 0.8502 MB / 285.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.02575, allocations: 164.8 kB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.02589, allocations: 38.95 kB / 285.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.02598, allocations: 24.5 kB / 285.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02598, allocations: 4 kB / 285.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of Templates: time 0.007921/0.03391, allocations: 3.024 MB / 288.9 MB, free: 0.8359 MB / 266.7 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/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_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: 4.5641225290019065]