Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0008947/0.0008947, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001022/0.001022, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.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.2588/0.2588, allocations: 32.8 MB / 294.6 MB, free: 1.281 MB / 266.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.612e-05, allocations: 9.766 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002257/0.002283, allocations: 1.724 MB / 377.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.003024, allocations: 0.5452 MB / 378.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.003087, allocations: 0 / 378.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.003351, allocations: 63.78 kB / 378.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.003656, allocations: 99.47 kB / 378.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.003969, allocations: 131.6 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004141, allocations: 83.77 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004255, allocations: 20.2 kB / 378.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.004346, allocations: 47.89 kB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.004453, allocations: 47.88 kB / 378.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.004471, allocations: 4 kB / 378.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.004582, allocations: 51.86 kB / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.004658, allocations: 23.91 kB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.004691, allocations: 15.94 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.0049, allocations: 95.59 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004904, allocations: 0 / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004905, allocations: 0 / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004909, allocations: 0 / 379 MB, free: 1.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004179/0.005327, allocations: 451.9 kB / 379.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.005362, allocations: 8.031 kB / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.005409, allocations: 16.89 kB / 379.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.005555, allocations: 147.5 kB / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.005563, allocations: 384 / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.005587, allocations: 4.375 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.00571, allocations: 70.88 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005718, allocations: 192 / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005729, allocations: 8.125 kB / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.005736, allocations: 0 / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.005773, allocations: 11.98 kB / 379.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006074, allocations: 299.7 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.00625, allocations: 55.02 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.006274, allocations: 11.69 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.006291, allocations: 0 / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.006313, allocations: 45.52 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.006314, allocations: 0 / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006087/0.006922, allocations: 249.5 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.006953, allocations: 55.41 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.007082, allocations: 214.5 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.007097, allocations: 33.7 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.007161, allocations: 150.8 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.007205, allocations: 39.73 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.007242, allocations: 31.31 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.007361, allocations: 0.4961 MB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.007392, allocations: 19.98 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.007419, allocations: 15.98 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.007483, allocations: 51.62 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007485, allocations: 0 / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001129/0.007597, allocations: 97.52 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.007611, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007616, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.00763, allocations: 4 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.007698, allocations: 19.98 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007703, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.007728, allocations: 4 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.007736, allocations: 8 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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 7.784e-05/0.007814, allocations: 176.4 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.007838, allocations: 11.95 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.008007, allocations: 110.8 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.00801, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.008015, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008018, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.008374, allocations: 412.6 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.008377, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.008435, allocations: 32.03 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008438, allocations: 0 / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.008447, allocations: 4 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.008449, allocations: 3.938 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.008452, allocations: 3.938 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.008604, allocations: 267.2 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.008615, allocations: 8.141 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.008632, allocations: 8 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.008676, allocations: 7.938 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.008714, allocations: 11.98 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.008721, allocations: 11.98 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.008791, allocations: 160 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008791, allocations: 0 / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.008971, allocations: 27.92 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (11): * Single equations (assignments): 11 * 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.0009275/0.009898, allocations: 433.8 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.01004, allocations: 59.59 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01004, allocations: 0 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.01009, allocations: 47.55 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01034, allocations: 19.98 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.0108, allocations: 260.5 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.01085, allocations: 63.34 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.0109, allocations: 24.59 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.01093, allocations: 20.5 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01093, allocations: 3.938 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003434/0.01437, allocations: 1.577 MB / 385.3 MB, free: 11.51 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.2790936990641057]