Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 187 kB / 16.63 MB, free: 5.137 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 8.457 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.001163/0.001163, allocations: 101.5 kB / 269.9 MB, free: 8.43 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.3702/0.3702, allocations: 43.5 MB / 360.7 MB, free: 51.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003349/0.1363, allocations: 1.667 MB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.1371, allocations: 351.5 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.1372, allocations: 0 / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.1377, allocations: 451.2 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1381, allocations: 235.6 kB / 489.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1386, allocations: 143.8 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1388, allocations: 167.6 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.139, allocations: 20.45 kB / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1391, allocations: 103.8 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1393, allocations: 203.6 kB / 490.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1394, allocations: 0 / 490.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.1395, allocations: 32 kB / 490.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1396, allocations: 79.69 kB / 490.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.967e-05/0.1397, allocations: 107 kB / 490.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.14, allocations: 247 kB / 490.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.14, allocations: 3.938 kB / 490.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.14, allocations: 0 / 490.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.14, allocations: 0 / 490.8 MB, free: 8.766 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007166/0.1407, allocations: 0.6337 MB / 491.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1408, allocations: 8.031 kB / 491.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.1409, allocations: 48.38 kB / 491.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1411, allocations: 292.2 kB / 491.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1412, allocations: 8.375 kB / 491.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1412, allocations: 4.375 kB / 491.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1413, allocations: 53.62 kB / 491.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1414, allocations: 0 / 491.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1414, allocations: 11.92 kB / 491.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1414, allocations: 3.938 kB / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.1415, allocations: 27.97 kB / 491.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.142, allocations: 396.6 kB / 492.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1422, allocations: 54.44 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.1423, allocations: 16.94 kB / 492.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1423, allocations: 0 / 492.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1423, allocations: 30.56 kB / 492.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1424, allocations: 4 kB / 492.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006109/0.143, allocations: 236 kB / 492.6 MB, free: 6.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.143, allocations: 55.39 kB / 492.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.1438, allocations: 0.8613 MB / 493.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1438, allocations: 25.7 kB / 493.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.144, allocations: 220.1 kB / 493.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.144, allocations: 23.72 kB / 493.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1441, allocations: 13.72 kB / 493.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1442, allocations: 362.8 kB / 494.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1443, allocations: 19.98 kB / 494.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.1444, allocations: 23.98 kB / 494.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1446, allocations: 48.83 kB / 494.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1446, allocations: 4 kB / 494.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.1448, allocations: 121.1 kB / 494.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1448, allocations: 8 kB / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1448, allocations: 0 / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1448, allocations: 0 / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.1449, allocations: 11.98 kB / 494.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1449, allocations: 4 kB / 494.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.145, allocations: 3.938 kB / 494.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.145, allocations: 8.25 kB / 494.4 MB, free: 4.938 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.1452, allocations: 221.7 kB / 494.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.1453, allocations: 43.44 kB / 494.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1455, allocations: 145 kB / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1455, allocations: 0 / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1455, allocations: 0 / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1456, allocations: 3.938 kB / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.1461, allocations: 462.5 kB / 495.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.1461, allocations: 0 / 495.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.1462, allocations: 19.92 kB / 495.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1462, allocations: 0 / 495.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1462, allocations: 7.875 kB / 495.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1462, allocations: 0 / 495.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1462, allocations: 0 / 495.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.1468, allocations: 0.8792 MB / 496.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.1469, allocations: 112.5 kB / 496.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1469, allocations: 4 kB / 496.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.147, allocations: 3.984 kB / 496.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1471, allocations: 4 kB / 496.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1471, allocations: 4 kB / 496.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005701/0.1477, allocations: 0.6511 MB / 496.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1477, allocations: 0 / 496.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.148, allocations: 24 kB / 496.9 MB, free: 2.223 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008608/0.1489, allocations: 402.2 kB / 497.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1491, allocations: 51.91 kB / 497.4 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1491, allocations: 8 kB / 497.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1492, allocations: 27.97 kB / 497.4 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1495, allocations: 33.83 kB / 497.4 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1506, allocations: 0.9833 MB / 498.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1511, allocations: 0.8302 MB / 499.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.1511, allocations: 16.09 kB / 499.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.1512, allocations: 11.44 kB / 499.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1512, allocations: 0 / 499.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of Templates: time 0.004268/0.1554, allocations: 1.436 MB / 0.489 GB, free: 14.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches