Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 100.2 kB / 17.63 MB, free: 5.52 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.001269/0.001269, allocations: 191.9 kB / 18.56 MB, free: 4.598 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.314/1.314, allocations: 222.9 MB / 242.2 MB, free: 15.27 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.1983/0.1983, allocations: 44.18 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 65.06 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1367, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003502/0.1403, allocations: 1.619 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.1411, allocations: 427.1 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.1412, allocations: 0 / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1418, allocations: 447.2 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1422, allocations: 255.5 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.1426, allocations: 135.1 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.143, allocations: 163.6 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1431, allocations: 16.17 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.1433, allocations: 115.8 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.1435, allocations: 207.6 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1436, allocations: 4 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1437, allocations: 27.98 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1438, allocations: 87.62 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.1439, allocations: 107 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1443, allocations: 247 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1443, allocations: 0 / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1443, allocations: 0 / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1443, allocations: 0 / 473.1 MB, free: 10.57 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.0009929/0.1453, allocations: 0.63 MB / 473.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1454, allocations: 12.03 kB / 473.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.1455, allocations: 44.38 kB / 473.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1458, allocations: 296.1 kB / 474 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1459, allocations: 4.375 kB / 474 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1459, allocations: 8.312 kB / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1461, allocations: 61.59 kB / 474.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1461, allocations: 0 / 474.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1461, allocations: 8 kB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1461, allocations: 0 / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1463, allocations: 35.97 kB / 474.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.1467, allocations: 380.7 kB / 474.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1469, allocations: 50.48 kB / 474.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.147, allocations: 28.94 kB / 474.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.147, allocations: 0 / 474.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.147, allocations: 34.56 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.147, allocations: 0 / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008311/0.1479, allocations: 292.1 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1479, allocations: 51.41 kB / 475 MB, free: 8.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.1488, allocations: 0.8495 MB / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1488, allocations: 29.7 kB / 475.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.149, allocations: 212 kB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.149, allocations: 31.58 kB / 476.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1491, allocations: 17.72 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1493, allocations: 362.8 kB / 476.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1494, allocations: 27.98 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.1495, allocations: 31.97 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1497, allocations: 80.8 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1497, allocations: 0 / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002942/0.15, allocations: 145.1 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1501, allocations: 11.92 kB / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1501, allocations: 0 / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1501, allocations: 4 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1502, allocations: 15.98 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1502, allocations: 0 / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.1503, allocations: 19.92 kB / 476.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1503, allocations: 0 / 476.8 MB, free: 6.605 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 0.0001953/0.1505, allocations: 213.7 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.1506, allocations: 39.53 kB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.1509, allocations: 161.4 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.151, allocations: 4 kB / 477.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.151, allocations: 4 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.151, allocations: 3.938 kB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.1516, allocations: 498.8 kB / 477.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1516, allocations: 0 / 477.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.1517, allocations: 15.98 kB / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1517, allocations: 0 / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1517, allocations: 11.94 kB / 477.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1517, allocations: 0 / 477.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1517, allocations: 0 / 477.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.1521, allocations: 246.8 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.1521, allocations: 108.5 kB / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1522, allocations: 11.94 kB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.1523, allocations: 15.98 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1523, allocations: 4 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1523, allocations: 0 / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005976/0.1529, allocations: 0.6511 MB / 478.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.153, allocations: 3.938 kB / 478.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1532, allocations: 24 kB / 478.8 MB, free: 4.508 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.0009583/0.1542, allocations: 403.5 kB / 479.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.1545, allocations: 75.88 kB / 479.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1545, allocations: 0 / 479.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1547, allocations: 43.97 kB / 479.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1551, allocations: 17.97 kB / 479.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1562, allocations: 0.8071 MB / 480.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.1566, allocations: 0.8298 MB / 480.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.232e-05/0.1567, allocations: 8.266 kB / 480.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1567, allocations: 15.44 kB / 481 MB, free: 2.414 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1567, allocations: 0 / 481 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Templates: time 0.005343/0.1621, allocations: 1.568 MB / 482.5 MB, free: 0.8555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches