Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007801/0.0007802, allocations: 92.33 kB / 17.35 MB, free: 6.344 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.0009855/0.0009859, allocations: 171.2 kB / 18.25 MB, free: 5.504 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.395/1.395, allocations: 223.3 MB / 242.3 MB, free: 14.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.2115/0.2115, allocations: 44.26 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 8.844 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 61.94 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002277/0.1435, allocations: 1.287 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007815/0.1443, allocations: 391.4 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.1443, allocations: 0 / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005781/0.1449, allocations: 451.2 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.1452, allocations: 247.5 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1456, allocations: 110.9 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1458, allocations: 151.7 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1459, allocations: 11.98 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.146, allocations: 107.7 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1462, allocations: 191.6 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1463, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.1463, allocations: 20 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1465, allocations: 87.62 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.1466, allocations: 124.7 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1469, allocations: 227 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1469, allocations: 4 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1469, allocations: 0 / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1469, allocations: 0 / 475.6 MB, free: 9.941 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007252/0.1476, allocations: 0.5758 MB / 476.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1477, allocations: 8.031 kB / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.1477, allocations: 36.47 kB / 476.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1481, allocations: 292.2 kB / 476.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1481, allocations: 8.375 kB / 476.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1481, allocations: 384 / 476.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1483, allocations: 57.75 kB / 476.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1483, allocations: 0 / 476.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1484, allocations: 0 / 476.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1484, allocations: 3.984 kB / 476.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.442e-05/0.1485, allocations: 23.98 kB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.149, allocations: 380.7 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.1491, allocations: 38.5 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.1492, allocations: 12.92 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1492, allocations: 0 / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1492, allocations: 38.55 kB / 477.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1493, allocations: 4 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003818/0.1496, allocations: 97.22 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1497, allocations: 55.34 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/0.1506, allocations: 0.8574 MB / 478.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1506, allocations: 29.83 kB / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.1508, allocations: 216.1 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1508, allocations: 3.906 kB / 478.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.1509, allocations: 9.719 kB / 478.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1511, allocations: 370.7 kB / 478.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.1511, allocations: 4 kB / 478.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.1511, allocations: 11.98 kB / 478.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1513, allocations: 32.91 kB / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1513, allocations: 0 / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001615/0.1515, allocations: 97.06 kB / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1515, allocations: 7.938 kB / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1515, allocations: 0 / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1516, allocations: 4.031 kB / 478.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.1516, allocations: 8 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1517, allocations: 0 / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.1517, allocations: 0 / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1517, allocations: 7.984 kB / 478.9 MB, free: 6.461 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 (2): * Single equations (assignments): 2 * 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.0002227/0.152, allocations: 213.7 kB / 479.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.152, allocations: 35.53 kB / 479.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.1523, allocations: 112.5 kB / 479.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1523, allocations: 0 / 479.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1523, allocations: 4 kB / 479.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1523, allocations: 0 / 479.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.1526, allocations: 289.5 kB / 479.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1526, allocations: 0 / 479.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1526, allocations: 7.938 kB / 479.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1527, allocations: 0 / 479.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1527, allocations: 8.016 kB / 479.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1527, allocations: 4 kB / 479.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1527, allocations: 0 / 479.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1529, allocations: 186.9 kB / 479.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.153, allocations: 104.6 kB / 479.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.153, allocations: 7.984 kB / 479.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.1531, allocations: 8.031 kB / 479.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1532, allocations: 0 / 479.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1532, allocations: 0 / 479.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006486/0.1538, allocations: 0.6472 MB / 480.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1538, allocations: 0 / 480.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1541, allocations: 23.92 kB / 480.5 MB, free: 4.727 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 (2): * Single equations (assignments): 2 * 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.0009172/0.155, allocations: 352.7 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1552, allocations: 27.92 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1552, allocations: 0 / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.1552, allocations: 20.05 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1556, allocations: 24.77 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1568, allocations: 0.8328 MB / 481.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.1574, allocations: 0.8145 MB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.222e-05/0.1575, allocations: 15.91 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.1575, allocations: 15.44 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1575, allocations: 0 / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Templates: time 0.004967/0.1625, allocations: 1.153 MB / 483.8 MB, free: 1.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches