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.0009226/0.0009225, allocations: 97.8 kB / 17.35 MB, free: 6.367 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.001048/0.001048, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.46/1.46, allocations: 223.3 MB / 242.3 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2025/0.2025, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003755, allocations: 8.688 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002312/0.1385, allocations: 1.329 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.1395, allocations: 419.2 kB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.1396, allocations: 0 / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006035/0.1402, allocations: 451.2 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.1406, allocations: 235.6 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.141, allocations: 127.2 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.1414, allocations: 163.6 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1415, allocations: 12.17 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1417, allocations: 103.8 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.142, allocations: 203.6 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.142, allocations: 0 / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1421, allocations: 39.97 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1423, allocations: 75.7 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1424, allocations: 124.7 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1427, allocations: 242.9 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1427, allocations: 0 / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1427, allocations: 0 / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1428, allocations: 0 / 475.7 MB, free: 9.855 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.0008339/0.1436, allocations: 0.6014 MB / 476.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.312e-05/0.1437, allocations: 11.97 kB / 476.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1438, allocations: 44.38 kB / 476.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1442, allocations: 288.2 kB / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1442, allocations: 4.375 kB / 476.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1442, allocations: 4.375 kB / 476.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1444, allocations: 81.52 kB / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1445, allocations: 0 / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1445, allocations: 0 / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1445, allocations: 0 / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1446, allocations: 39.97 kB / 476.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.1452, allocations: 384.7 kB / 477.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1454, allocations: 54.5 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.1455, allocations: 24.94 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1455, allocations: 7.984 kB / 477.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1455, allocations: 34.56 kB / 477.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1456, allocations: 0 / 477.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009305/0.1465, allocations: 319.9 kB / 477.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1466, allocations: 51.48 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/0.1474, allocations: 0.8534 MB / 478.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1474, allocations: 29.7 kB / 478.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1477, allocations: 212.1 kB / 478.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.1477, allocations: 27.55 kB / 478.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.1477, allocations: 13.72 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.148, allocations: 362.7 kB / 479.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1481, allocations: 43.97 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1482, allocations: 35.97 kB / 479.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1485, allocations: 97.03 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1485, allocations: 0 / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003086/0.1488, allocations: 157.1 kB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1488, allocations: 8 kB / 479.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1488, allocations: 0 / 479.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1489, allocations: 0 / 479.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.149, allocations: 31.98 kB / 479.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.149, allocations: 3.984 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.1491, allocations: 15.94 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1491, allocations: 4 kB / 479.5 MB, free: 5.832 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.0001944/0.1493, allocations: 214.3 kB / 479.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.1494, allocations: 43.44 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.1498, allocations: 181.4 kB / 480 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1498, allocations: 4 kB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1498, allocations: 0 / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1498, allocations: 7.922 kB / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.1505, allocations: 0.5023 MB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1505, allocations: 4 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.1506, allocations: 19.98 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1506, allocations: 0 / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1506, allocations: 11.94 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1506, allocations: 0 / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1506, allocations: 0 / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.151, allocations: 258.9 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.1511, allocations: 108.6 kB / 480.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1512, allocations: 3.938 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1513, allocations: 15.98 kB / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1513, allocations: 7.938 kB / 480.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1513, allocations: 4 kB / 480.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006334/0.152, allocations: 0.6433 MB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.152, allocations: 0 / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1522, allocations: 31.91 kB / 481.6 MB, free: 3.68 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.0009681/0.1532, allocations: 405.7 kB / 482 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1535, allocations: 95.94 kB / 482.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1535, allocations: 0 / 482.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1537, allocations: 56.05 kB / 482.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.154, allocations: 21.95 kB / 482.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1552, allocations: 0.8806 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.1556, allocations: 0.8185 MB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.1556, allocations: 15.94 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1557, allocations: 19.38 kB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1557, allocations: 0 / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004466/0.1602, allocations: 1.412 MB / 485.3 MB, free: 76 kB / 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