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.0007761/0.0007761, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008333/0.0008333, allocations: 142 kB / 24.97 MB, free: 8.324 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.9088/0.9088, allocations: 173.3 MB / 201.5 MB, free: 9.34 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.312e-06/1.312e-06, allocations: 0 / 268 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.674e-05, allocations: 6.25 kB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002341/0.002358, allocations: 2.479 MB / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004863/0.002844, allocations: 251 kB / 270.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.002945, allocations: 4 kB / 270.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.00307, allocations: 47.58 kB / 270.8 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.003191, allocations: 99.05 kB / 270.9 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.003342, allocations: 63.91 kB / 271 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.003577, allocations: 338.1 kB / 271.3 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.003713, allocations: 67.64 kB / 271.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.003855, allocations: 183.6 kB / 271.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.003972, allocations: 91.77 kB / 271.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.004016, allocations: 27.94 kB / 271.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.004056, allocations: 27.94 kB / 271.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.004107, allocations: 63.8 kB / 271.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.004208, allocations: 99.77 kB / 271.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.004432, allocations: 211.2 kB / 272.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004434, allocations: 0 / 272.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004435, allocations: 4 kB / 272.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004439, allocations: 0 / 272.1 MB, free: 2.703 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.0005458/0.004985, allocations: 0.5975 MB / 272.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.005016, allocations: 8.922 kB / 272.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.005082, allocations: 56.75 kB / 272.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.005272, allocations: 196.2 kB / 272.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.005289, allocations: 17.03 kB / 272.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.005335, allocations: 36.33 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.005585, allocations: 210 kB / 273.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.005599, allocations: 4.188 kB / 273.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.005617, allocations: 8.375 kB / 273.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.005626, allocations: 8.375 kB / 273.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.005781, allocations: 119.8 kB / 273.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.006437, allocations: 0.6856 MB / 274 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.006707, allocations: 232.8 kB / 274.2 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.006808, allocations: 83.33 kB / 274.3 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.006823, allocations: 11.94 kB / 274.3 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.006848, allocations: 41.39 kB / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.006849, allocations: 0 / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001563/0.008412, allocations: 1.287 MB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.00845, allocations: 81.11 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.008569, allocations: 222.1 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.008587, allocations: 33.7 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.008668, allocations: 195.5 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.008758, allocations: 182.4 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.00883, allocations: 79.84 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.008945, allocations: 0.5079 MB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.009034, allocations: 60.95 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.009159, allocations: 132.1 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.009392, allocations: 205.4 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009393, allocations: 3.938 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003134/0.009706, allocations: 310.2 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.00972, allocations: 4 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009726, allocations: 0 / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.00974, allocations: 7.938 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.009971, allocations: 103.8 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.009978, allocations: 4 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.01003, allocations: 12 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.01005, allocations: 16 kB / 277.8 MB, free: 12.62 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 9.049e-05/0.01014, allocations: 176.5 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.01019, allocations: 39.86 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.01025, allocations: 42.03 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.01026, allocations: 11.92 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01026, allocations: 0 / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.01027, allocations: 0 / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.01099, allocations: 0.8608 MB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01099, allocations: 0 / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.01122, allocations: 95.89 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01123, allocations: 4 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.01125, allocations: 16.06 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01125, allocations: 4 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01125, allocations: 0 / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.01172, allocations: 0.643 MB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.01174, allocations: 23.86 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01177, allocations: 11.98 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.01185, allocations: 12 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.01189, allocations: 27.89 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.0119, allocations: 12 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.01196, allocations: 168.2 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01196, allocations: 0 / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.0122, allocations: 80 kB / 280 MB, free: 10.31 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.262e-05/0.01229, allocations: 111.1 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.01258, allocations: 232 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01258, allocations: 0 / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.0127, allocations: 136.4 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.01308, allocations: 76.09 kB / 280.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.01393, allocations: 0.8123 MB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.014, allocations: 101.6 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.594e-05/0.01408, allocations: 30.97 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.01414, allocations: 28.5 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01414, allocations: 0 / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of Templates: time 0.004481/0.01862, allocations: 3.037 MB / 284.5 MB, free: 5.727 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.696274188812822]