Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002348/0.002352, allocations: 188.6 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.206/2.206, 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.001625/0.001625, allocations: 94.78 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.2859/0.2859, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006366/0.000637, allocations: 16 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1228, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002504/0.1254, allocations: 1.302 MB / 491.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.1262, allocations: 283.8 kB / 491.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.1263, allocations: 0 / 491.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.1266, allocations: 67.83 kB / 491.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1268, allocations: 51.81 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.1272, allocations: 87.88 kB / 492 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1274, allocations: 51.86 kB / 492.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1275, allocations: 16.19 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.846e-05/0.1276, allocations: 23.91 kB / 492.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1277, allocations: 39.83 kB / 492.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1277, allocations: 4 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.1278, allocations: 19.94 kB / 492.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.1279, allocations: 19.91 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.128, allocations: 45.58 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1281, allocations: 67.88 kB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1282, allocations: 0 / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1282, allocations: 4 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1282, allocations: 0 / 492.3 MB, free: 7.25 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.0006369/0.1288, allocations: 403.2 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1289, allocations: 16.02 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.1289, allocations: 11.81 kB / 492.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1292, allocations: 195.5 kB / 492.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.1293, allocations: 4 kB / 492.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1293, allocations: 7.938 kB / 492.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1295, allocations: 69.59 kB / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1296, allocations: 0 / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1296, allocations: 0 / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1296, allocations: 0 / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.1298, allocations: 43.97 kB / 493 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.1304, allocations: 296.8 kB / 493.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1306, allocations: 50.5 kB / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1306, allocations: 4 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1306, allocations: 34.56 kB / 493.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.1307, allocations: 0 / 493.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001241/0.1319, allocations: 253.1 kB / 493.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.132, allocations: 51.41 kB / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1323, allocations: 203.3 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1323, allocations: 29.7 kB / 493.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.1324, allocations: 166.6 kB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1325, allocations: 23.7 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.1325, allocations: 0 / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1327, allocations: 318.8 kB / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1329, allocations: 39.97 kB / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.1331, allocations: 35.98 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.1334, allocations: 43.97 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1334, allocations: 0 / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005099/0.1339, allocations: 129.8 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1339, allocations: 6.656 kB / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.134, allocations: 80 / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.134, allocations: 3.953 kB / 494.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1342, allocations: 23.98 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1342, allocations: 3.984 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1344, allocations: 15.98 kB / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1344, allocations: 4 kB / 494.7 MB, free: 4.602 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.0001451/0.1345, allocations: 129.8 kB / 494.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.1346, allocations: 15.75 kB / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.1352, allocations: 150.9 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1352, allocations: 4 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.1352, allocations: 3.953 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1352, allocations: 0 / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/0.1361, allocations: 414.4 kB / 495.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1361, allocations: 4 kB / 495.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1363, allocations: 23.98 kB / 495.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1363, allocations: 4.281 kB / 495.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1364, allocations: 3.953 kB / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1364, allocations: 0 / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1364, allocations: 0 / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.137, allocations: 235.3 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.137, allocations: 88.98 kB / 495.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1371, allocations: 4 kB / 495.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1373, allocations: 19.94 kB / 495.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.1373, allocations: 15.92 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1374, allocations: 0 / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002059/0.1376, allocations: 156.9 kB / 496 MB, free: 3.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1376, allocations: 4 kB / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.1379, allocations: 16 kB / 496 MB, free: 3.23 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.001193/0.1392, allocations: 402.9 kB / 496.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.1397, allocations: 91.88 kB / 496.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1397, allocations: 4 kB / 496.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.14, allocations: 51.91 kB / 496.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1403, allocations: 15.98 kB / 496.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.141, allocations: 287.2 kB / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1414, allocations: 0.7082 MB / 497.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.1415, allocations: 11.44 kB / 497.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1415, allocations: 0 / 497.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of Templates: time 0.005264/0.1468, allocations: 1.685 MB / 499.2 MB, free: 15.98 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches