Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 105 kB / 17.21 MB, free: 6.273 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.001192/0.001192, allocations: 194 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.396/1.396, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2178/0.2178, allocations: 44.17 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 61.55 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1409, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004466/0.1454, allocations: 1.688 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1467, allocations: 435.1 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.1468, allocations: 8 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.1476, allocations: 443.2 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.1481, allocations: 243.5 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.1487, allocations: 122 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.1491, allocations: 167.6 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1492, allocations: 19.98 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1494, allocations: 107.7 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.1498, allocations: 207.6 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1498, allocations: 4 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.15, allocations: 47.97 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.1502, allocations: 87.62 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1503, allocations: 103 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.1508, allocations: 251 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1508, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1508, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1508, allocations: 0 / 472.4 MB, free: 10.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001101/0.1519, allocations: 0.6534 MB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.152, allocations: 8.031 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.1521, allocations: 44.38 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1525, allocations: 296.1 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1526, allocations: 8.312 kB / 473.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1526, allocations: 4.359 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.1529, allocations: 65.8 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1529, allocations: 4 kB / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1529, allocations: 4 kB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.153, allocations: 0 / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.1532, allocations: 35.97 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.1539, allocations: 396.6 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1543, allocations: 58.55 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1545, allocations: 28.91 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1545, allocations: 8.078 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1546, allocations: 38.5 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.1546, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002668/0.1573, allocations: 451.7 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1573, allocations: 55.34 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.1587, allocations: 0.8496 MB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1588, allocations: 29.7 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.1591, allocations: 219.9 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.1591, allocations: 39.45 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.1592, allocations: 21.72 kB / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1595, allocations: 366.8 kB / 476 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.1597, allocations: 35.97 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.16, allocations: 47.97 kB / 476.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.1604, allocations: 104.7 kB / 476.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1604, allocations: 0 / 476.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005913/0.161, allocations: 169.1 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1611, allocations: 7.984 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1611, allocations: 0 / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1611, allocations: 0 / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1613, allocations: 27.92 kB / 476.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1614, allocations: 8 kB / 476.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1615, allocations: 7.984 kB / 476.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1616, allocations: 15.88 kB / 476.5 MB, free: 6.645 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 (11): * Single equations (assignments): 11 * 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.0003414/0.1619, allocations: 210.3 kB / 476.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.162, allocations: 43.47 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.1627, allocations: 202.3 kB / 476.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.1628, allocations: 7.938 kB / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1628, allocations: 0 / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1628, allocations: 0 / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1642, allocations: 0.5624 MB / 477.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1642, allocations: 4 kB / 477.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.1645, allocations: 27.92 kB / 477.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1645, allocations: 0 / 477.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1645, allocations: 4 kB / 477.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1645, allocations: 7.984 kB / 477.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1645, allocations: 0 / 477.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/0.1653, allocations: 284.6 kB / 477.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1654, allocations: 116.5 kB / 477.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.1655, allocations: 7.984 kB / 477.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1657, allocations: 8 kB / 477.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.1658, allocations: 19.98 kB / 477.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1659, allocations: 0 / 477.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.167, allocations: 0.6472 MB / 478.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 4e-07/0.167, allocations: 0 / 478.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.1675, allocations: 32 kB / 478.6 MB, free: 4.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001826/0.1694, allocations: 467.9 kB / 479.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.17, allocations: 99.88 kB / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.17, allocations: 0 / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.1703, allocations: 68.02 kB / 479.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1711, allocations: 29.78 kB / 479.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1728, allocations: 0.9353 MB / 480.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.1734, allocations: 0.834 MB / 481 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1736, allocations: 12.42 kB / 481.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.1736, allocations: 19.42 kB / 481.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1737, allocations: 0 / 481.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Templates: time 0.00759/0.1813, allocations: 1.751 MB / 482.8 MB, free: 292 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches