Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001256/0.001256, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002271/0.003527, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001365/0.001365, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.003204, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.172/1.172, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1297/1.302, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3336/0.3336, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03134/0.3649, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.638e-05, allocations: 4.203 kB / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003081/0.003108, allocations: 1.973 MB / 292.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.00491, allocations: 1.125 MB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.005018, allocations: 0 / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.005374, allocations: 163.3 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.005748, allocations: 195.2 kB / 294.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.005992, allocations: 127.5 kB / 294.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.006284, allocations: 247.2 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.006395, allocations: 22.59 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.006641, allocations: 188.8 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.006806, allocations: 115.7 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.006832, allocations: 8 kB / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.006958, allocations: 63.92 kB / 294.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.007032, allocations: 47.8 kB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.007093, allocations: 35.88 kB / 295 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.007352, allocations: 179.2 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-05/0.00737, allocations: 0 / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007371, allocations: 0 / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.00739, allocations: 0 / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000664/0.008054, allocations: 491.4 kB / 295.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.008092, allocations: 8.031 kB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.008146, allocations: 24.91 kB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.008402, allocations: 209.8 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.008423, allocations: 12.36 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.008448, allocations: 8.375 kB / 295.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.008648, allocations: 107.4 kB / 296 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.008663, allocations: 3.938 kB / 296 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.008673, allocations: 4 kB / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.00868, allocations: 0 / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/0.008743, allocations: 33.56 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.009171, allocations: 300.8 kB / 296.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.009456, allocations: 182.6 kB / 296.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.009505, allocations: 33.89 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.009522, allocations: 4 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.009691, allocations: 104.8 kB / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.009693, allocations: 0 / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007984/0.01049, allocations: 320.1 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.01054, allocations: 89.05 kB / 297.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.01078, allocations: 292.6 kB / 297.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.01081, allocations: 29.7 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.01087, allocations: 117.2 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.01094, allocations: 67.44 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.011, allocations: 41.69 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01112, allocations: 350.7 kB / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.01117, allocations: 22.83 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.01123, allocations: 58.03 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01136, allocations: 107.9 kB / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01136, allocations: 0 / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001859/0.01154, allocations: 135.2 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01156, allocations: 7.938 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01157, allocations: 0 / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01158, allocations: 4 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.01172, allocations: 47.97 kB / 298.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01173, allocations: 4 kB / 298.3 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.01179, allocations: 15.88 kB / 298.3 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01181, allocations: 15.98 kB / 298.3 MB, free: 316 kB / 282.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.591e-05/0.01191, allocations: 124.7 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.01194, allocations: 19.98 kB / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.01219, allocations: 162.5 kB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01219, allocations: 4 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0122, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.0122, allocations: 3.938 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.01272, allocations: 0.5594 MB / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01272, allocations: 0 / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/0.01281, allocations: 35.98 kB / 299.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.01284, allocations: 31.73 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.01285, allocations: 7.984 kB / 299.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01287, allocations: 8 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01287, allocations: 0 / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.01287, allocations: 7.938 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.01309, allocations: 415.1 kB / 299.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.01312, allocations: 8 kB / 299.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.0132, allocations: 12.06 kB / 299.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.01324, allocations: 19.91 kB / 299.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.01327, allocations: 19.98 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.479e-05/0.01335, allocations: 119.5 kB / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01335, allocations: 0 / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.01356, allocations: 55.92 kB / 299.9 MB, free: 14.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001691/0.01525, allocations: 0.7089 MB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.01543, allocations: 104.8 kB / 300.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.01545, allocations: 8 kB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.01551, allocations: 72.75 kB / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.01585, allocations: 82.97 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.01663, allocations: 458 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.01669, allocations: 100.3 kB / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.01678, allocations: 37.92 kB / 301.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.01689, allocations: 99.36 kB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01689, allocations: 0 / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Templates: time 0.006499/0.02339, allocations: 3.673 MB / 305.3 MB, free: 9.707 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.4713392416015267]