Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007606/0.0007605, allocations: 100 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3097/0.3097, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005844/0.0005846, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.127, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.002259/0.1293, allocations: 1.309 MB / 491.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006096/0.13, allocations: 299.8 kB / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.1301, allocations: 0 / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.1303, allocations: 43.88 kB / 491.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1305, allocations: 31.91 kB / 491.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1309, allocations: 107.8 kB / 492 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.131, allocations: 55.83 kB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.1311, allocations: 20.11 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.1312, allocations: 27.86 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.1313, allocations: 27.89 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1313, allocations: 0 / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.1314, allocations: 31.94 kB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.1315, allocations: 11.98 kB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.1315, allocations: 37.64 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1317, allocations: 63.89 kB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1317, allocations: 0 / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1317, allocations: 3.938 kB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1317, allocations: 0 / 492.3 MB, free: 9.152 MB / 378.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.0004813/0.1322, allocations: 391.2 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1322, allocations: 12.02 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1323, allocations: 11.86 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1325, allocations: 186.8 kB / 492.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1325, allocations: 8 kB / 492.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1325, allocations: 4 kB / 492.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1327, allocations: 57.67 kB / 492.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1327, allocations: 0 / 492.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1327, allocations: 4 kB / 492.9 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1328, allocations: 3.953 kB / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1329, allocations: 43.97 kB / 493 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1333, allocations: 288.8 kB / 493.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1334, allocations: 46.56 kB / 493.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.1335, allocations: 28.94 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1336, allocations: 3.953 kB / 493.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1336, allocations: 38.55 kB / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1336, allocations: 0 / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008078/0.1344, allocations: 241.1 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1345, allocations: 51.41 kB / 493.7 MB, free: 7.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1346, allocations: 169.1 kB / 493.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1347, allocations: 29.7 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.1347, allocations: 104.1 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1348, allocations: 27.64 kB / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1348, allocations: 0 / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1349, allocations: 314.8 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.135, allocations: 39.97 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1352, allocations: 48.03 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1353, allocations: 43.92 kB / 494.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1353, allocations: 3.938 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002816/0.1356, allocations: 129.8 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1356, allocations: 11.27 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1356, allocations: 3.938 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1357, allocations: 4 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1358, allocations: 23.98 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1358, allocations: 3.938 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.1359, allocations: 15.98 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1359, allocations: 0 / 494.6 MB, free: 6.598 MB / 378.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 9.878e-05/0.136, allocations: 129.8 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.136, allocations: 11.81 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.1364, allocations: 142.3 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1364, allocations: 0 / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1364, allocations: 0 / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1364, allocations: 0 / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.137, allocations: 406.4 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.137, allocations: 8 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.1371, allocations: 23.98 kB / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1371, allocations: 0 / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1371, allocations: 3.984 kB / 495.3 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1371, allocations: 4 kB / 495.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1371, allocations: 4 kB / 495.3 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.1375, allocations: 231.3 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1375, allocations: 85.02 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1376, allocations: 0 / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.1377, allocations: 15.98 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.1377, allocations: 7.984 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1377, allocations: 0 / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1379, allocations: 127.2 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1379, allocations: 4 kB / 495.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.1381, allocations: 16 kB / 495.8 MB, free: 5.297 MB / 378.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.0008749/0.139, allocations: 402 kB / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1393, allocations: 95.88 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1394, allocations: 0 / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1395, allocations: 47.97 kB / 496.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1398, allocations: 23.94 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1403, allocations: 242.7 kB / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1406, allocations: 0.6965 MB / 497.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.1406, allocations: 19.42 kB / 497.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1406, allocations: 3.938 kB / 497.3 MB, free: 3.762 MB / 378.7 MB Notification: Performance of Templates: time 0.003382/0.144, allocations: 1.544 MB / 498.9 MB, free: 2.219 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches