Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001702/0.001702, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001865/0.001865, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2755/0.2755, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 325.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.193e-05, allocations: 2.312 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.004233/0.004265, allocations: 1.815 MB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.00738, allocations: 1.739 MB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.007508, allocations: 3.938 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.007894, allocations: 23.86 kB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.008371, allocations: 111.3 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.008666, allocations: 71.67 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.008899, allocations: 115.6 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.009002, allocations: 4 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.009145, allocations: 59.83 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.009289, allocations: 27.91 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.00931, allocations: 12 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.009582, allocations: 115.7 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.00965, allocations: 27.91 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.009697, allocations: 16.44 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.01004, allocations: 159.5 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01004, allocations: 0 / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.01004, allocations: 0 / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.01005, allocations: 0 / 329.7 MB, free: 3.238 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005183/0.01057, allocations: 333.5 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.01062, allocations: 8.031 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.01068, allocations: 12.92 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.01092, allocations: 145.2 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.01094, allocations: 384 / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.01097, allocations: 4.375 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.01116, allocations: 120.5 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01117, allocations: 0 / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.01118, allocations: 0 / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01119, allocations: 0 / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.01123, allocations: 10.83 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.01162, allocations: 166 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.01175, allocations: 89.28 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.01178, allocations: 24.72 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.0118, allocations: 0 / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.01192, allocations: 66.22 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.01193, allocations: 0 / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003941/0.01232, allocations: 117.5 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.01237, allocations: 77.11 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01251, allocations: 154.8 kB / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01253, allocations: 37.62 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.01257, allocations: 92.12 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.01261, allocations: 35.72 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.01266, allocations: 21.7 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01276, allocations: 322.8 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.01279, allocations: 10.83 kB / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.01285, allocations: 56.2 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.01292, allocations: 44.45 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01292, allocations: 0 / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000122/0.01304, allocations: 68.44 kB / 331.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.01306, allocations: 8.062 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01306, allocations: 4 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01308, allocations: 3.984 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.01317, allocations: 16 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01318, allocations: 0 / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.01323, allocations: 4 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01324, allocations: 0 / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.411e-05/0.01333, allocations: 131.1 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.01335, allocations: 8 kB / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.01352, allocations: 74.44 kB / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01352, allocations: 4 kB / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01352, allocations: 0 / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01353, allocations: 0 / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.01384, allocations: 295.6 kB / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01385, allocations: 3.984 kB / 332.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.01389, allocations: 15.94 kB / 332.2 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.0139, allocations: 4 kB / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.0139, allocations: 0 / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01391, allocations: 0 / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01391, allocations: 0 / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01406, allocations: 223 kB / 332.4 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.01407, allocations: 3.953 kB / 332.4 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.0141, allocations: 8.375 kB / 332.4 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.01417, allocations: 4 kB / 332.4 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.0142, allocations: 7.984 kB / 332.4 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01422, allocations: 8 kB / 332.4 MB, free: 188 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.01428, allocations: 50.62 kB / 332.5 MB, free: 136 kB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01428, allocations: 0 / 332.5 MB, free: 136 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.01458, allocations: 43.86 kB / 332.5 MB, free: 92 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002045/0.01662, allocations: 0.7155 MB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01676, allocations: 40.78 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.01677, allocations: 4 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.137e-05/0.01682, allocations: 28.77 kB / 333.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.0171, allocations: 40.05 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.0176, allocations: 191.7 kB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01765, allocations: 63.34 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.01772, allocations: 21.27 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.01782, allocations: 79.34 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.01783, allocations: 0 / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.005428/0.02325, allocations: 2.767 MB / 336.5 MB, free: 12.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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: 3.08193016378209]