Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001784/0.00179, allocations: 187.7 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.089/2.089, 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.001149/0.001149, allocations: 90.84 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.2996/0.2996, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002373/0.1232, allocations: 1.276 MB / 491.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.125, allocations: 0.8675 MB / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.1251, allocations: 0 / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1253, allocations: 23.91 kB / 492.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.1256, allocations: 31.84 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1259, allocations: 67.86 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.126, allocations: 39.94 kB / 492.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1262, allocations: 8.188 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.1262, allocations: 23.86 kB / 492.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1264, allocations: 27.91 kB / 492.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1264, allocations: 3.938 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1265, allocations: 35.92 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.1266, allocations: 4 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1266, allocations: 37.64 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1268, allocations: 71.88 kB / 492.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1268, allocations: 3.938 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1269, allocations: 0 / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1269, allocations: 0 / 492.7 MB, free: 6.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005395/0.1274, allocations: 375.4 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1275, allocations: 19.95 kB / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.1275, allocations: 11.91 kB / 493.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1278, allocations: 186.9 kB / 493.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1278, allocations: 7.984 kB / 493.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1279, allocations: 7.938 kB / 493.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1281, allocations: 71.39 kB / 493.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1281, allocations: 4 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1282, allocations: 4 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1282, allocations: 0 / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1284, allocations: 31.97 kB / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1288, allocations: 300.7 kB / 493.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.129, allocations: 54.56 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1291, allocations: 0 / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1291, allocations: 34.56 kB / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.1291, allocations: 0 / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009334/0.1301, allocations: 201.3 kB / 494 MB, free: 5.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1301, allocations: 77.11 kB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1303, allocations: 141.5 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1304, allocations: 33.64 kB / 494.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.795e-05/0.1305, allocations: 158.6 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1305, allocations: 35.61 kB / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.1305, allocations: 0 / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1307, allocations: 310.8 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1308, allocations: 35.92 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.131, allocations: 45.69 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1312, allocations: 27.98 kB / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1312, allocations: 0 / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003577/0.1316, allocations: 97.67 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1316, allocations: 8.031 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1316, allocations: 0 / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.1316, allocations: 3.953 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1318, allocations: 19.98 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1318, allocations: 7.938 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.1319, allocations: 7.984 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.132, allocations: 0 / 495 MB, free: 4.301 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 (8): * Single equations (assignments): 8 * 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.0001259/0.1321, allocations: 121.8 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.1322, allocations: 7.906 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.1326, allocations: 122 kB / 495.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.1326, allocations: 3.953 kB / 495.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1326, allocations: 4 kB / 495.3 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1327, allocations: 4 kB / 495.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.1334, allocations: 386.4 kB / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1334, allocations: 3.938 kB / 495.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.1336, allocations: 20.36 kB / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1336, allocations: 7.953 kB / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1336, allocations: 8 kB / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1336, allocations: 0 / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1336, allocations: 0 / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.1341, allocations: 211.8 kB / 495.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.1342, allocations: 81.11 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1342, allocations: 3.953 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1343, allocations: 15.98 kB / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1344, allocations: 0 / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1344, allocations: 7.938 kB / 496 MB, free: 3.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1345, allocations: 107.2 kB / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1345, allocations: 0 / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.1349, allocations: 31.91 kB / 496.1 MB, free: 3.066 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 (8): * Single equations (assignments): 8 * 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.001306/0.1362, allocations: 445.8 kB / 496.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.1367, allocations: 71.89 kB / 496.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1367, allocations: 0 / 496.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1368, allocations: 35.98 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1372, allocations: 15.98 kB / 496.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.1378, allocations: 230.7 kB / 496.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1381, allocations: 0.6965 MB / 497.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.1382, allocations: 19.42 kB / 497.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1382, allocations: 0 / 497.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of Templates: time 0.005163/0.1434, allocations: 1.731 MB / 499.4 MB, free: 15.83 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches