Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.001551, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007434/0.0007437, allocations: 95.73 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3468/0.3468, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004994, allocations: 19.98 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001989/0.1359, allocations: 1.255 MB / 491.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005882/0.1365, allocations: 283.9 kB / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.1366, allocations: 0 / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1369, allocations: 127.8 kB / 491.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1371, allocations: 75.83 kB / 492 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1374, allocations: 59.86 kB / 492 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1376, allocations: 67.81 kB / 492.1 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1377, allocations: 15.97 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.1377, allocations: 31.91 kB / 492.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1379, allocations: 71.78 kB / 492.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1379, allocations: 0 / 492.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.138, allocations: 27.98 kB / 492.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1381, allocations: 27.91 kB / 492.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.1381, allocations: 41.58 kB / 492.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1382, allocations: 67.91 kB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1383, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1383, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1383, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.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.0005428/0.1388, allocations: 422.9 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1389, allocations: 19.95 kB / 492.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.1389, allocations: 11.86 kB / 492.8 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1391, allocations: 202.5 kB / 493 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1392, allocations: 4 kB / 493 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1392, allocations: 0 / 493 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1393, allocations: 45.69 kB / 493.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1394, allocations: 0 / 493.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1394, allocations: 8 kB / 493.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1394, allocations: 0 / 493.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1395, allocations: 27.94 kB / 493.1 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.1399, allocations: 288.9 kB / 493.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1401, allocations: 42.56 kB / 493.4 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.1402, allocations: 20.94 kB / 493.4 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1402, allocations: 4 kB / 493.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1402, allocations: 30.56 kB / 493.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1402, allocations: 0 / 493.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005873/0.1408, allocations: 181 kB / 493.7 MB, free: 7.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1409, allocations: 55.41 kB / 493.7 MB, free: 7.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1411, allocations: 259.3 kB / 494 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1411, allocations: 29.7 kB / 494 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.1412, allocations: 120 kB / 494.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1413, allocations: 15.8 kB / 494.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.1413, allocations: 4 kB / 494.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1414, allocations: 322.8 kB / 494.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.1415, allocations: 19.98 kB / 494.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.1416, allocations: 32.05 kB / 494.5 MB, free: 6.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.1417, allocations: 23.98 kB / 494.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1417, allocations: 0 / 494.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002081/0.1419, allocations: 89.58 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1419, allocations: 7.953 kB / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1419, allocations: 0 / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1419, allocations: 0 / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.142, allocations: 15.98 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.142, allocations: 0 / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.1421, allocations: 15.88 kB / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1421, allocations: 4 kB / 494.7 MB, free: 6.328 MB / 378.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.0001103/0.1422, allocations: 133.8 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1423, allocations: 15.81 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.1425, allocations: 110.6 kB / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1425, allocations: 0 / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1425, allocations: 0 / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1426, allocations: 0 / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.143, allocations: 374.4 kB / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.143, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.1431, allocations: 19.94 kB / 495.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1431, allocations: 0 / 495.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1431, allocations: 4.312 kB / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1431, allocations: 0 / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1431, allocations: 4 kB / 495.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1434, allocations: 191.3 kB / 495.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1434, allocations: 96.91 kB / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1435, allocations: 3.953 kB / 495.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1435, allocations: 8 kB / 495.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1436, allocations: 7.984 kB / 495.6 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1436, allocations: 0 / 495.6 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1438, allocations: 203.4 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1438, allocations: 0 / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.144, allocations: 15.98 kB / 495.8 MB, free: 5.055 MB / 378.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.0008426/0.1448, allocations: 400.6 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.145, allocations: 51.97 kB / 496.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1451, allocations: 0 / 496.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.1451, allocations: 39.91 kB / 496.3 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1455, allocations: 12.19 kB / 496.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.146, allocations: 315.8 kB / 496.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1463, allocations: 0.7121 MB / 497.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1463, allocations: 11.44 kB / 497.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1463, allocations: 0 / 497.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of Templates: time 0.003317/0.1496, allocations: 1.59 MB / 498.9 MB, free: 1.926 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches