Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002308/0.002314, allocations: 188.1 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.328/2.328, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001126/0.001126, allocations: 98.83 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.3127/0.3127, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.00051, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002424/0.1273, allocations: 1.245 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.1282, allocations: 291.9 kB / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.1283, allocations: 0 / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.1286, allocations: 87.73 kB / 491.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1288, allocations: 59.84 kB / 491.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.1293, allocations: 87.72 kB / 492 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1294, allocations: 47.92 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1296, allocations: 8 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.1296, allocations: 31.84 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1298, allocations: 35.89 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1298, allocations: 0 / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1299, allocations: 20 kB / 492.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.13, allocations: 15.92 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.13, allocations: 37.64 kB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1302, allocations: 75.81 kB / 492.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1302, allocations: 4 kB / 492.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1302, allocations: 0 / 492.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1302, allocations: 0 / 492.3 MB, free: 7.285 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005954/0.1309, allocations: 391.2 kB / 492.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1309, allocations: 12.02 kB / 492.6 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.131, allocations: 19.77 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1312, allocations: 195.5 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1313, allocations: 0 / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1313, allocations: 7.984 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1315, allocations: 49.69 kB / 492.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1315, allocations: 3.984 kB / 492.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1315, allocations: 0 / 492.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1315, allocations: 0 / 492.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1317, allocations: 31.98 kB / 492.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.1323, allocations: 296.8 kB / 493.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1326, allocations: 46.55 kB / 493.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1326, allocations: 4 kB / 493.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1326, allocations: 30.56 kB / 493.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.1326, allocations: 0 / 493.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008855/0.1335, allocations: 181.2 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1336, allocations: 55.34 kB / 493.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.1339, allocations: 222.3 kB / 493.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.134, allocations: 25.7 kB / 493.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.1341, allocations: 170.5 kB / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1341, allocations: 19.73 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.1341, allocations: 4 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1343, allocations: 314.8 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1344, allocations: 23.98 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1346, allocations: 27.92 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1347, allocations: 31.97 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1348, allocations: 0 / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003383/0.1351, allocations: 81.92 kB / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1351, allocations: 10.66 kB / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1352, allocations: 0 / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1352, allocations: 0 / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1353, allocations: 27.94 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1353, allocations: 0 / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.1354, allocations: 4 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1355, allocations: 4 kB / 494.5 MB, free: 4.832 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 (5): * Single equations (assignments): 5 * 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.0001432/0.1356, allocations: 129.8 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1357, allocations: 11.84 kB / 494.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.1361, allocations: 114.5 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1361, allocations: 0 / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.1361, allocations: 3.953 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1361, allocations: 0 / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.1369, allocations: 378.4 kB / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1369, allocations: 0 / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.137, allocations: 15.98 kB / 495.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.137, allocations: 0 / 495.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1371, allocations: 3.953 kB / 495.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1371, allocations: 0 / 495.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1371, allocations: 0 / 495.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1375, allocations: 191.4 kB / 495.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.1376, allocations: 93 kB / 495.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1376, allocations: 0 / 495.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1377, allocations: 12.08 kB / 495.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1378, allocations: 19.92 kB / 495.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1378, allocations: 0 / 495.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.1381, allocations: 167.2 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1381, allocations: 0 / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000348/0.1384, allocations: 23.91 kB / 495.6 MB, free: 3.59 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 (5): * Single equations (assignments): 5 * 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.001182/0.1396, allocations: 391 kB / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.14, allocations: 63.95 kB / 496.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.14, allocations: 0 / 496.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1402, allocations: 31.92 kB / 496.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1406, allocations: 19.73 kB / 496.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.1413, allocations: 283.3 kB / 496.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1417, allocations: 0.7121 MB / 497.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.1418, allocations: 11.44 kB / 497.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1418, allocations: 4 kB / 497.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of Templates: time 0.004861/0.1467, allocations: 1.539 MB / 498.7 MB, free: 0.5391 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches