Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 149.3 kB / 24.81 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9977/0.9977, allocations: 173.4 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 268.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.79e-05, allocations: 2.312 kB / 268.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002366/0.002384, allocations: 2.455 MB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.002845, allocations: 259 kB / 271.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.002949, allocations: 7.938 kB / 271.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.003074, allocations: 43.58 kB / 271.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.003195, allocations: 95.12 kB / 271.2 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.003328, allocations: 67.84 kB / 271.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.003537, allocations: 342.1 kB / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.003669, allocations: 67.64 kB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.003809, allocations: 179.7 kB / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.003927, allocations: 103.7 kB / 272 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.003958, allocations: 24 kB / 272 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.165e-05/0.003989, allocations: 24 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.004026, allocations: 55.83 kB / 272.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.004097, allocations: 103.7 kB / 272.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.004285, allocations: 211.2 kB / 272.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004287, allocations: 0 / 272.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004288, allocations: 4 kB / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004291, allocations: 0 / 272.4 MB, free: 2.219 MB / 250.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.0004997/0.004791, allocations: 0.6013 MB / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.004824, allocations: 8.922 kB / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.00488, allocations: 56.75 kB / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.005292, allocations: 196.2 kB / 273.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.005309, allocations: 21.03 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.005344, allocations: 32.31 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.005529, allocations: 194 kB / 273.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.005541, allocations: 192 / 273.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.005557, allocations: 16.36 kB / 273.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005564, allocations: 4.375 kB / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.005668, allocations: 103.7 kB / 273.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.006225, allocations: 0.6588 MB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.006415, allocations: 212 kB / 274.5 MB, free: 0 / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.006493, allocations: 75.31 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.006508, allocations: 11.94 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.006529, allocations: 41.39 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.232e-06/0.00653, allocations: 0 / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001237/0.007767, allocations: 1.149 MB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.007803, allocations: 96.98 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007907, allocations: 222 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.007925, allocations: 33.7 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.007997, allocations: 195.5 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.008084, allocations: 186.3 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.008155, allocations: 79.81 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.008271, allocations: 0.5117 MB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.271e-05/0.008324, allocations: 44.95 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/0.008413, allocations: 112.1 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.00857, allocations: 193.3 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008572, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002429/0.008814, allocations: 270.3 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.008827, allocations: 4 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008833, allocations: 4 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.008845, allocations: 0 / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.009057, allocations: 107.8 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.009061, allocations: 3.938 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.009117, allocations: 12 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.009129, allocations: 12 kB / 277.8 MB, free: 12.43 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 8.421e-05/0.009213, allocations: 176.5 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.009264, allocations: 43.81 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.009312, allocations: 42.03 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.009316, allocations: 7.984 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.00932, allocations: 3.938 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.009325, allocations: 4 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.009966, allocations: 0.7951 MB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009968, allocations: 0 / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.01018, allocations: 99.89 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01019, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.0102, allocations: 16.06 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.0102, allocations: 4 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0102, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.01058, allocations: 0.6039 MB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01061, allocations: 31.78 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01063, allocations: 12 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.01072, allocations: 8 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.01074, allocations: 27.95 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01075, allocations: 11.98 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.01081, allocations: 155.1 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01081, allocations: 4 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.01105, allocations: 91.88 kB / 279.9 MB, free: 10.22 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 8.463e-05/0.01113, allocations: 107.1 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.0116, allocations: 204 kB / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.0116, allocations: 0 / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.01169, allocations: 124.4 kB / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.01204, allocations: 64.28 kB / 280.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.01282, allocations: 0.8084 MB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.01288, allocations: 101.5 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.032e-05/0.01296, allocations: 34.95 kB / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.0131, allocations: 138.2 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0131, allocations: 0 / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of Templates: time 0.004958/0.01806, allocations: 3.317 MB / 284.8 MB, free: 5.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.868842548225075]