Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008731/0.0008732, allocations: 177.1 kB / 16.72 MB, free: 5.078 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.241/1.241, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000676/0.000676, allocations: 86.31 kB / 271.2 MB, free: 8.258 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.3176/0.3176, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 12 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 58.84 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.001816/0.1188, allocations: 1.317 MB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1199, allocations: 0.8949 MB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.12, allocations: 0 / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1202, allocations: 15.92 kB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1203, allocations: 35.91 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1206, allocations: 103.8 kB / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1207, allocations: 51.84 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1208, allocations: 16.16 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.1209, allocations: 23.86 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.121, allocations: 23.86 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.121, allocations: 4 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.1211, allocations: 39.97 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1212, allocations: 15.98 kB / 493.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1212, allocations: 49.56 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1214, allocations: 75.77 kB / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1214, allocations: 0 / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1214, allocations: 0 / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1214, allocations: 4 kB / 493.5 MB, free: 7.98 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.0004413/0.1218, allocations: 371.6 kB / 493.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1219, allocations: 12.03 kB / 493.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1219, allocations: 12.84 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1221, allocations: 184.2 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1221, allocations: 8.375 kB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1221, allocations: 384 / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1223, allocations: 87.25 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1224, allocations: 0 / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1224, allocations: 0 / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1224, allocations: 8 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1225, allocations: 39.97 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1229, allocations: 284.7 kB / 494.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.123, allocations: 54.5 kB / 494.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.1231, allocations: 28.94 kB / 494.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1231, allocations: 0 / 494.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1231, allocations: 42.48 kB / 494.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1232, allocations: 3.938 kB / 494.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006918/0.1238, allocations: 237.2 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1239, allocations: 77.11 kB / 494.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.124, allocations: 137.7 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1241, allocations: 29.7 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.1241, allocations: 92.12 kB / 495.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1242, allocations: 27.72 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.1242, allocations: 0 / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1243, allocations: 322.8 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1244, allocations: 39.97 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1245, allocations: 53.69 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1247, allocations: 92.78 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1248, allocations: 4 kB / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002659/0.125, allocations: 121.5 kB / 495.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.125, allocations: 4 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1251, allocations: 4 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1251, allocations: 0 / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1252, allocations: 23.98 kB / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1252, allocations: 0 / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.1253, allocations: 19.92 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1253, allocations: 4 kB / 495.9 MB, free: 5.367 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 0.0001079/0.1254, allocations: 125.8 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1254, allocations: 3.906 kB / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.1257, allocations: 142 kB / 496.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1258, allocations: 0 / 496.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1258, allocations: 11.98 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1258, allocations: 3.938 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.1263, allocations: 394.5 kB / 496.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1263, allocations: 0 / 496.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.1264, allocations: 23.98 kB / 496.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1264, allocations: 288 / 496.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1264, allocations: 7.938 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1264, allocations: 0 / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1264, allocations: 0 / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1267, allocations: 231.8 kB / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1268, allocations: 100.9 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1268, allocations: 3.938 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.1269, allocations: 19.98 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1269, allocations: 0 / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1269, allocations: 4 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.127, allocations: 103.8 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 7.938 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.1273, allocations: 24 kB / 497 MB, free: 4.082 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.0008424/0.1281, allocations: 437.6 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.1284, allocations: 91.94 kB / 497.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1284, allocations: 0 / 497.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1285, allocations: 55.91 kB / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1288, allocations: 15.98 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1292, allocations: 215 kB / 497.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1294, allocations: 0.6926 MB / 498.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.1295, allocations: 15.44 kB / 498.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1295, allocations: 0 / 498.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of Templates: time 0.002924/0.1324, allocations: 1.707 MB / 0.4885 GB, free: 0.8555 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches