Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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_cpp_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.323/2.323, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.445/0.445, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002488/0.1203, allocations: 1.31 MB / 491.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1221, allocations: 0.8635 MB / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.1222, allocations: 7.938 kB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.1224, allocations: 15.92 kB / 492.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1227, allocations: 39.83 kB / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1231, allocations: 99.73 kB / 492.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1233, allocations: 27.97 kB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1234, allocations: 20.17 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.1235, allocations: 23.84 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1236, allocations: 19.92 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1236, allocations: 0 / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.1238, allocations: 31.98 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.1239, allocations: 19.84 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1239, allocations: 33.7 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1241, allocations: 67.83 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1242, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1242, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1242, allocations: 4 kB / 492.8 MB, free: 6.742 MB / 330.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.0006347/0.1248, allocations: 387.4 kB / 493.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.1249, allocations: 12.02 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.125, allocations: 7.906 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1252, allocations: 187 kB / 493.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1252, allocations: 4 kB / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1253, allocations: 4 kB / 493.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1256, allocations: 79.33 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1256, allocations: 0 / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1256, allocations: 0 / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1256, allocations: 4 kB / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.1259, allocations: 51.91 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.1264, allocations: 288.7 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1266, allocations: 50.48 kB / 493.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1266, allocations: 4 kB / 493.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1267, allocations: 38.56 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.1267, allocations: 0 / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001254/0.128, allocations: 245.3 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.128, allocations: 77.11 kB / 494.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1283, allocations: 141.8 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1283, allocations: 29.7 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.1284, allocations: 158.5 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1284, allocations: 23.7 kB / 494.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.1285, allocations: 0 / 494.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1286, allocations: 310.8 kB / 494.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1288, allocations: 47.97 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.1291, allocations: 53.69 kB / 495 MB, free: 4.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1293, allocations: 39.92 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1293, allocations: 0 / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005085/0.1298, allocations: 133.5 kB / 495.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1299, allocations: 6.656 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1299, allocations: 0 / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1299, allocations: 3.953 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1301, allocations: 31.97 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1301, allocations: 320 / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1303, allocations: 8 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1303, allocations: 4 kB / 495.2 MB, free: 4.133 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.1304, allocations: 117.8 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.1305, allocations: 7.906 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.1311, allocations: 150.2 kB / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1311, allocations: 3.953 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1311, allocations: 0 / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1311, allocations: 4 kB / 495.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.132, allocations: 410.4 kB / 495.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.132, allocations: 3.984 kB / 495.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1322, allocations: 23.98 kB / 495.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1322, allocations: 7.891 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1323, allocations: 4.281 kB / 495.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1323, allocations: 0 / 495.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1323, allocations: 0 / 495.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.1328, allocations: 219.4 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.1329, allocations: 92.98 kB / 496.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.133, allocations: 7.953 kB / 496.2 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1331, allocations: 19.98 kB / 496.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.1332, allocations: 7.938 kB / 496.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1332, allocations: 0 / 496.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1334, allocations: 107.2 kB / 496.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1334, allocations: 0 / 496.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000379/0.1338, allocations: 28 kB / 496.4 MB, free: 2.832 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.1351, allocations: 443 kB / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005434/0.1357, allocations: 91.94 kB / 496.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1357, allocations: 3.938 kB / 496.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.1359, allocations: 47.91 kB / 496.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1363, allocations: 19.98 kB / 497 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.1369, allocations: 215.4 kB / 497.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1373, allocations: 0.6965 MB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.1374, allocations: 19.42 kB / 497.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1374, allocations: 0 / 497.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of Templates: time 0.0053/0.1427, allocations: 1.785 MB / 499.7 MB, free: 15.52 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches