Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 92.36 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002828, allocations: 11.94 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001998/0.1166, allocations: 1.396 MB / 484.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.1176, allocations: 0.5496 MB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.1177, allocations: 0 / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.1182, allocations: 451.2 kB / 485.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.1187, allocations: 275.5 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1191, allocations: 127.2 kB / 485.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.1194, allocations: 167.6 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1195, allocations: 20.2 kB / 486.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1197, allocations: 111.7 kB / 486.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.12, allocations: 203.6 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.12, allocations: 0 / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1202, allocations: 55.95 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1203, allocations: 79.64 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1205, allocations: 128.7 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.1209, allocations: 270.9 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1209, allocations: 0 / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1209, allocations: 0 / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1209, allocations: 0 / 486.9 MB, free: 360 kB / 350.1 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.0007408/0.1216, allocations: 0.6032 MB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1217, allocations: 8.031 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.1218, allocations: 48.38 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1221, allocations: 300.1 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1221, allocations: 384 / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1222, allocations: 4.375 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1224, allocations: 69.8 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1224, allocations: 0 / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1224, allocations: 4 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1224, allocations: 4 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.1226, allocations: 47.89 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.1231, allocations: 412.5 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1234, allocations: 62.58 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.1235, allocations: 32.97 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1235, allocations: 0 / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1236, allocations: 38.5 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1236, allocations: 0 / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001676/0.1253, allocations: 0.5389 MB / 489 MB, free: 14.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1253, allocations: 55.34 kB / 489.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/0.1262, allocations: 0.8613 MB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1263, allocations: 29.7 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1264, allocations: 219.9 kB / 490.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1265, allocations: 35.45 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1265, allocations: 17.72 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1267, allocations: 366.7 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1268, allocations: 47.97 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.127, allocations: 60.02 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1272, allocations: 120.7 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1273, allocations: 0 / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003811/0.1276, allocations: 185.2 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1277, allocations: 4 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1277, allocations: 0 / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1277, allocations: 0 / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1278, allocations: 39.84 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1279, allocations: 0 / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.128, allocations: 19.91 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.128, allocations: 11.98 kB / 491.1 MB, free: 11.92 MB / 366.1 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 0.0002464/0.1282, allocations: 209.8 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.1283, allocations: 39.53 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.1289, allocations: 221.2 kB / 491.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.1289, allocations: 15.91 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1289, allocations: 0 / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1289, allocations: 0 / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/0.1297, allocations: 0.5858 MB / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1298, allocations: 4.062 kB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1299, allocations: 27.98 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1299, allocations: 0 / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1299, allocations: 4.469 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1299, allocations: 3.938 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1299, allocations: 0 / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.1303, allocations: 316.5 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1304, allocations: 116.5 kB / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1305, allocations: 0 / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1306, allocations: 16 kB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1306, allocations: 7.984 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1306, allocations: 4 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006345/0.1313, allocations: 0.655 MB / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1313, allocations: 0 / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1316, allocations: 36 kB / 493.3 MB, free: 9.559 MB / 366.1 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.001012/0.1326, allocations: 450 kB / 493.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.133, allocations: 127.9 kB / 493.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.133, allocations: 0 / 493.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.1331, allocations: 71.91 kB / 494 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1336, allocations: 33.39 kB / 494 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1349, allocations: 0.9565 MB / 494.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1353, allocations: 0.8302 MB / 495.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.1353, allocations: 16.55 kB / 495.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1354, allocations: 19.42 kB / 495.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1354, allocations: 0 / 495.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of Templates: time 0.004726/0.1401, allocations: 1.704 MB / 497.5 MB, free: 5.465 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches