Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001562, 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.095/2.095, 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.001151/0.00115, allocations: 98.8 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.3035/0.3035, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006236/0.0006239, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1157, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002501/0.1183, allocations: 1.245 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000856/0.1192, allocations: 283.9 kB / 491.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.1193, allocations: 4 kB / 491.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1195, allocations: 27.84 kB / 491.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1197, allocations: 27.91 kB / 491.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1201, allocations: 79.77 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1203, allocations: 39.89 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1204, allocations: 8 kB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.1205, allocations: 23.86 kB / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.1206, allocations: 11.92 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1206, allocations: 4 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1207, allocations: 19.98 kB / 492 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.1208, allocations: 15.92 kB / 492 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.1208, allocations: 33.64 kB / 492 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.121, allocations: 59.86 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.121, allocations: 0 / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.121, allocations: 0 / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1211, allocations: 0 / 492.1 MB, free: 7.445 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.0005627/0.1216, allocations: 379.4 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1217, allocations: 16.02 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1217, allocations: 7.859 kB / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.122, allocations: 190.9 kB / 492.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.122, allocations: 0 / 492.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.122, allocations: 0 / 492.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1222, allocations: 49.62 kB / 492.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1223, allocations: 8 kB / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1223, allocations: 0 / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1223, allocations: 0 / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.1225, allocations: 31.92 kB / 492.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.1232, allocations: 284.9 kB / 493 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.1236, allocations: 50.5 kB / 493.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1237, allocations: 0 / 493.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.1237, allocations: 30.56 kB / 493.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/0.1238, allocations: 0 / 493.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001322/0.1251, allocations: 173.3 kB / 493.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.1252, allocations: 51.41 kB / 493.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1255, allocations: 165.8 kB / 493.5 MB, free: 5.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/0.1256, allocations: 33.7 kB / 493.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1258, allocations: 162.5 kB / 493.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.1258, allocations: 19.73 kB / 493.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1259, allocations: 0 / 493.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1261, allocations: 314.8 kB / 494 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.1263, allocations: 19.98 kB / 494 MB, free: 5.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1265, allocations: 27.98 kB / 494.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1268, allocations: 28.17 kB / 494.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.1268, allocations: 4 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005229/0.1273, allocations: 93.55 kB / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.1274, allocations: 10.66 kB / 494.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1274, allocations: 3.938 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1275, allocations: 4 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.1277, allocations: 15.98 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1277, allocations: 4 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1279, allocations: 4 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1279, allocations: 0 / 494.2 MB, free: 5.098 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.0001956/0.1281, allocations: 125.8 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.1282, allocations: 11.86 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.1289, allocations: 105.9 kB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1289, allocations: 4.281 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1289, allocations: 0 / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1289, allocations: 0 / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.13, allocations: 362.5 kB / 494.8 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.1301, allocations: 7.969 kB / 494.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.1303, allocations: 12 kB / 494.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1303, allocations: 0 / 494.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1303, allocations: 4 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.1304, allocations: 4 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1304, allocations: 3.938 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.1311, allocations: 195.5 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1313, allocations: 96.95 kB / 495.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.1314, allocations: 0 / 495.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.1316, allocations: 4 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.1317, allocations: 15.92 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1317, allocations: 0 / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.132, allocations: 130.7 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.132, allocations: 0 / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.1326, allocations: 12 kB / 495.3 MB, free: 3.926 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.001865/0.1345, allocations: 404.6 kB / 495.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.1352, allocations: 63.91 kB / 495.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1352, allocations: 0 / 495.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.1355, allocations: 35.97 kB / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.136, allocations: 11.95 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.1368, allocations: 235 kB / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.1374, allocations: 0.7043 MB / 496.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1375, allocations: 11.44 kB / 496.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1376, allocations: 3.938 kB / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of Templates: time 0.006887/0.1445, allocations: 1.439 MB / 498.2 MB, free: 1.016 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches