Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0009575/0.0009575, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001097/0.001097, allocations: 162.8 kB / 25.61 MB, free: 8.902 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 0.9296/0.9296, allocations: 177.1 MB / 206 MB, free: 4.496 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.2275/0.2275, allocations: 32.81 MB / 295.4 MB, free: 15.38 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.327e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002142/0.002165, allocations: 1.689 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.002859, allocations: 0.5647 MB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.002931, allocations: 4 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.003306, allocations: 447.1 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.003637, allocations: 303.1 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.003953, allocations: 179.5 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.004155, allocations: 179.6 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004264, allocations: 7.984 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.004377, allocations: 127.7 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.004535, allocations: 247.6 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.004553, allocations: 4 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.004618, allocations: 35.92 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.004687, allocations: 87.64 kB / 381.1 MB, free: 21.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.004718, allocations: 39.75 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.004896, allocations: 203.1 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004897, allocations: 0 / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004898, allocations: 0 / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.004904, allocations: 0 / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004643/0.005368, allocations: 0.7164 MB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.005402, allocations: 11.98 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.005448, allocations: 44.66 kB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.005636, allocations: 252.8 kB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.005648, allocations: 8.375 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.005666, allocations: 384 / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005774, allocations: 62.89 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.005784, allocations: 4.172 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.005792, allocations: 4.125 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.005796, allocations: 0 / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.00582, allocations: 8 kB / 382.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.006108, allocations: 344.3 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.006171, allocations: 50.95 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.006187, allocations: 11.69 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.006201, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.006217, allocations: 41.42 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.006218, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003345/0.006553, allocations: 153.2 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.006572, allocations: 51.41 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.006862, allocations: 0.6079 MB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.00687, allocations: 25.7 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.00702, allocations: 302.7 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.007042, allocations: 19.75 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.007075, allocations: 35.34 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.007157, allocations: 0.5547 MB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.007174, allocations: 7.984 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.00719, allocations: 8 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.00723, allocations: 35.83 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007231, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.401e-05/0.007325, allocations: 113.3 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007338, allocations: 10.03 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007343, allocations: 0 / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.007351, allocations: 0 / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.007425, allocations: 15.98 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.007429, allocations: 0 / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.007462, allocations: 8 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007468, allocations: 4 kB / 384.8 MB, free: 17.8 MB / 314.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 (7): * Single equations (assignments): 7 * 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 5.474e-05/0.007523, allocations: 156.5 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.007555, allocations: 47.66 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.007679, allocations: 113.5 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007682, allocations: 0 / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.007683, allocations: 0 / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007686, allocations: 0 / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.007994, allocations: 405.8 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.007995, allocations: 0 / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.008042, allocations: 15.98 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.008046, allocations: 4 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.008053, allocations: 0 / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.008055, allocations: 0 / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008056, allocations: 4 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.008158, allocations: 255.5 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.008178, allocations: 39.72 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.008193, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.008242, allocations: 7.984 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.008268, allocations: 7.984 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.008272, allocations: 4 kB / 385.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.008431, allocations: 394.7 kB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008431, allocations: 0 / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.008606, allocations: 23.94 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008911/0.009497, allocations: 401.8 kB / 386.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.009587, allocations: 39.59 kB / 386.7 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.009589, allocations: 0 / 386.7 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.009614, allocations: 27.67 kB / 386.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.009866, allocations: 33.08 kB / 386.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.01041, allocations: 0.5881 MB / 387.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.01047, allocations: 127.1 kB / 387.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.0105, allocations: 12.72 kB / 387.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.01055, allocations: 82.2 kB / 387.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01055, allocations: 4 kB / 387.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.003731/0.01428, allocations: 1.663 MB / 389.2 MB, free: 13.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.274133452679962]