Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 104.1 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 190 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2098/0.2098, allocations: 44.16 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 60.66 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003537/0.1469, allocations: 1.673 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1484, allocations: 1.019 MB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.1485, allocations: 0 / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1487, allocations: 15.92 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1488, allocations: 39.78 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1492, allocations: 126.5 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1493, allocations: 59.84 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.1494, allocations: 8.188 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.1495, allocations: 23.86 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1496, allocations: 34.94 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1496, allocations: 0 / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1498, allocations: 51.97 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.1498, allocations: 19.92 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.1499, allocations: 23.86 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1501, allocations: 91.75 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1501, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1501, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1501, allocations: 3.938 kB / 471.7 MB, free: 11.64 MB / 350.1 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.0006989/0.1508, allocations: 387.5 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1508, allocations: 8.031 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1509, allocations: 12.84 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1511, allocations: 192.2 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1511, allocations: 384 / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1511, allocations: 384 / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1513, allocations: 83.25 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1513, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1514, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1514, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1515, allocations: 39.97 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1519, allocations: 292.7 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.152, allocations: 42.5 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.1521, allocations: 28.94 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1521, allocations: 0 / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1522, allocations: 30.56 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1522, allocations: 0 / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007629/0.153, allocations: 209.2 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.153, allocations: 77.11 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1532, allocations: 141.6 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1532, allocations: 25.7 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1533, allocations: 92.05 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1533, allocations: 27.64 kB / 473.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1533, allocations: 17.72 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1535, allocations: 322.8 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1536, allocations: 31.97 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1537, allocations: 53.69 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1539, allocations: 72.88 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1539, allocations: 11.91 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002627/0.1542, allocations: 105.5 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1542, allocations: 11.94 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1542, allocations: 0 / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1542, allocations: 0 / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1544, allocations: 19.98 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1544, allocations: 0 / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.1544, allocations: 15.92 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1544, allocations: 8 kB / 474 MB, free: 9.094 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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 8.891e-05/0.1545, allocations: 114.4 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1546, allocations: 7.906 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.1549, allocations: 121.9 kB / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1549, allocations: 4 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1549, allocations: 0 / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1549, allocations: 3.938 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.1554, allocations: 386.8 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1555, allocations: 288 / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.1555, allocations: 19.98 kB / 474.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1556, allocations: 4 kB / 474.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1556, allocations: 7.938 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1556, allocations: 80 / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1556, allocations: 7.984 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1559, allocations: 207.4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.156, allocations: 81.02 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1561, allocations: 11.94 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.1562, allocations: 11.92 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1562, allocations: 11.98 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1562, allocations: 0 / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.1563, allocations: 103.3 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1563, allocations: 0 / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1566, allocations: 23.98 kB / 475.1 MB, free: 7.883 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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.001006/0.1576, allocations: 437 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.158, allocations: 79.86 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.158, allocations: 4 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1581, allocations: 47.91 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1585, allocations: 13.83 kB / 475.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.1589, allocations: 203.8 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1592, allocations: 0.6926 MB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.1592, allocations: 20.23 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1593, allocations: 11.44 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1593, allocations: 0 / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Templates: time 0.00405/0.1634, allocations: 1.426 MB / 478 MB, free: 5.082 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches