Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001575, allocations: 188.3 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.105/2.105, 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.001179/0.001179, allocations: 90.88 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.352/0.352, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.87 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00251/0.1251, allocations: 1.298 MB / 491.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.126, allocations: 295.8 kB / 491.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.1261, allocations: 0 / 491.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.1268, allocations: 439.2 kB / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004477/0.1273, allocations: 247.5 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.1279, allocations: 131.8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1282, allocations: 115.8 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1283, allocations: 16.17 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1285, allocations: 99.8 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1288, allocations: 143.7 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1288, allocations: 0 / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1289, allocations: 23.94 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1291, allocations: 87.67 kB / 493.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.1292, allocations: 69.52 kB / 493.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.1295, allocations: 192 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1295, allocations: 0 / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1295, allocations: 0 / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1295, allocations: 0 / 493.3 MB, free: 6.191 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.0009069/0.1305, allocations: 0.5909 MB / 493.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1305, allocations: 15.95 kB / 493.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.1306, allocations: 43.44 kB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.131, allocations: 283.3 kB / 494.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.131, allocations: 0 / 494.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.131, allocations: 8 kB / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1312, allocations: 49.67 kB / 494.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1313, allocations: 4 kB / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1313, allocations: 4 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1313, allocations: 0 / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.1315, allocations: 39.91 kB / 494.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.1322, allocations: 396.7 kB / 494.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.1325, allocations: 46.56 kB / 494.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1325, allocations: 4 kB / 494.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1326, allocations: 34.5 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.1326, allocations: 0 / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009536/0.1336, allocations: 264 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1336, allocations: 51.41 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1349, allocations: 0.8691 MB / 496 MB, free: 3.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.135, allocations: 25.7 kB / 496 MB, free: 3.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.1352, allocations: 242.5 kB / 496.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1352, allocations: 19.75 kB / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.1353, allocations: 0 / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1354, allocations: 314.8 kB / 496.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1356, allocations: 23.98 kB / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1357, allocations: 27.97 kB / 496.7 MB, free: 2.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1358, allocations: 28.17 kB / 496.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1359, allocations: 4 kB / 496.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003461/0.1362, allocations: 89.67 kB / 496.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.1363, allocations: 4 kB / 496.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1363, allocations: 0 / 496.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1363, allocations: 7.953 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1365, allocations: 19.92 kB / 496.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1365, allocations: 4 kB / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.1366, allocations: 7.984 kB / 496.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1366, allocations: 3.938 kB / 496.8 MB, free: 2.492 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.0002872/0.1369, allocations: 209.8 kB / 497 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.137, allocations: 43.44 kB / 497.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.1375, allocations: 153 kB / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1375, allocations: 288 / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1375, allocations: 7.953 kB / 497.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1375, allocations: 3.984 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/0.1384, allocations: 474.4 kB / 497.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1384, allocations: 3.984 kB / 497.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1385, allocations: 15.98 kB / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1386, allocations: 0 / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1386, allocations: 3.953 kB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1386, allocations: 0 / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1386, allocations: 0 / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.139, allocations: 239.1 kB / 497.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1392, allocations: 112.5 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.1392, allocations: 4 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1394, allocations: 11.95 kB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1394, allocations: 7.984 kB / 498.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1395, allocations: 4 kB / 498.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.1405, allocations: 0.6511 MB / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1405, allocations: 0 / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.1409, allocations: 28 kB / 498.8 MB, free: 452 kB / 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.001173/0.1421, allocations: 397.6 kB / 499.2 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.1425, allocations: 67.91 kB / 499.2 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1425, allocations: 0 / 499.2 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1427, allocations: 36.02 kB / 499.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1431, allocations: 18.31 kB / 499.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1448, allocations: 0.8704 MB / 0.4884 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.1455, allocations: 0.834 MB / 0.4892 GB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.1455, allocations: 11.44 kB / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1456, allocations: 0 / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of Templates: time 0.01121/0.1568, allocations: 3.716 MB / 0.4929 GB, free: 10.48 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches