Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 109.7 kB / 16.64 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 196.3 kB / 17.56 MB, free: 5.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.3 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 75.62 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1153, allocations: 57.78 MB / 440.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003065/0.1184, allocations: 1.66 MB / 442.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005566/0.119, allocations: 331.5 kB / 442.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.1191, allocations: 0 / 442.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.1195, allocations: 455.1 kB / 443.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1199, allocations: 247.6 kB / 443.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1203, allocations: 103.7 kB / 443.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1205, allocations: 163.7 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1206, allocations: 24.39 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1207, allocations: 107.7 kB / 443.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1209, allocations: 219.6 kB / 443.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.121, allocations: 4 kB / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-05/0.121, allocations: 35.94 kB / 444 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.303e-05/0.1211, allocations: 83.69 kB / 444.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.1212, allocations: 98.98 kB / 444.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1214, allocations: 187.8 kB / 444.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1215, allocations: 4 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1215, allocations: 0 / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1215, allocations: 0 / 444.3 MB, free: 3.637 MB / 318.1 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.0007374/0.1222, allocations: 0.6336 MB / 445 MB, free: 2.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1223, allocations: 11.89 kB / 445 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1224, allocations: 44.38 kB / 445 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1226, allocations: 296.2 kB / 445.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1226, allocations: 384 / 445.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1226, allocations: 8.375 kB / 445.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1228, allocations: 61.61 kB / 445.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1229, allocations: 0 / 445.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1229, allocations: 0 / 445.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1229, allocations: 3.984 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.123, allocations: 35.97 kB / 445.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1234, allocations: 388.6 kB / 445.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1236, allocations: 42.56 kB / 445.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.1236, allocations: 20.94 kB / 445.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1237, allocations: 3.938 kB / 445.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.1237, allocations: 38.56 kB / 445.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1237, allocations: 4 kB / 445.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007454/0.1245, allocations: 283.9 kB / 446.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.1245, allocations: 51.41 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.1251, allocations: 0.8573 MB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.1251, allocations: 29.7 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1252, allocations: 212 kB / 447.3 MB, free: 448 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1252, allocations: 27.56 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1253, allocations: 21.7 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.1254, allocations: 358.8 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1255, allocations: 32.03 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1256, allocations: 35.91 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.1258, allocations: 72.75 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1258, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000283/0.1261, allocations: 141.2 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1261, allocations: 4 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1262, allocations: 8 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1262, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1263, allocations: 23.92 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1263, allocations: 4 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.1264, allocations: 11.92 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1264, allocations: 0 / 448.1 MB, free: 15.69 MB / 334.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 (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 0.0001891/0.1266, allocations: 225.7 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1267, allocations: 43.44 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.1271, allocations: 169.7 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1271, allocations: 3.938 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1271, allocations: 0 / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1271, allocations: 3.938 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.1278, allocations: 494.4 kB / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1278, allocations: 0 / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.1279, allocations: 19.98 kB / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1279, allocations: 0 / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1279, allocations: 7.938 kB / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1279, allocations: 0 / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1279, allocations: 7.875 kB / 449 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.1282, allocations: 238.9 kB / 449.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1283, allocations: 108.6 kB / 449.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1284, allocations: 3.938 kB / 449.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.1285, allocations: 7.984 kB / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.1285, allocations: 11.98 kB / 449.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1285, allocations: 0 / 449.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005924/0.1291, allocations: 0.6472 MB / 450 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1292, allocations: 0 / 450 MB, free: 13.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1294, allocations: 24 kB / 450 MB, free: 13.58 MB / 334.1 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.001028/0.1305, allocations: 397.5 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.1308, allocations: 79.88 kB / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1308, allocations: 4 kB / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1309, allocations: 47.91 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.1314, allocations: 25.89 kB / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1326, allocations: 0.9143 MB / 451.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1331, allocations: 0.8241 MB / 452.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1331, allocations: 15.44 kB / 452.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1331, allocations: 3.938 kB / 452.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Templates: time 0.007684/0.1408, allocations: 3.764 MB / 456.1 MB, free: 7.535 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches