Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001147/0.001147, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.37/1.37, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2043/0.2043, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 72.42 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003713/0.1319, allocations: 1.612 MB / 471.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1335, allocations: 1.027 MB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.1336, allocations: 4 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1338, allocations: 23.84 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1341, allocations: 35.8 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1345, allocations: 134.4 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1347, allocations: 63.78 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1348, allocations: 16.17 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.1349, allocations: 27.84 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.135, allocations: 31.86 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1351, allocations: 4 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1352, allocations: 51.97 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.1353, allocations: 19.92 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1353, allocations: 23.86 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1355, allocations: 91.77 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1355, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1355, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1356, allocations: 4 kB / 473.1 MB, free: 11.18 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.0005075/0.1361, allocations: 387.5 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1361, allocations: 8.031 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.1362, allocations: 16.78 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1364, allocations: 188.2 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1364, allocations: 384 / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1364, allocations: 8.375 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1366, allocations: 75.31 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1367, allocations: 7.922 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1367, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1367, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1368, allocations: 39.97 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1372, allocations: 280.8 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1373, allocations: 54.48 kB / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.1374, allocations: 28.94 kB / 474.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1374, allocations: 0 / 474.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1375, allocations: 30.56 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1375, allocations: 0 / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007931/0.1383, allocations: 197.3 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.1384, allocations: 85.09 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1385, allocations: 129.8 kB / 474.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1386, allocations: 29.7 kB / 474.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1386, allocations: 96.03 kB / 474.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1387, allocations: 27.72 kB / 474.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1387, allocations: 21.7 kB / 474.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1388, allocations: 322.8 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.139, allocations: 27.97 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1391, allocations: 53.75 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1393, allocations: 72.83 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1393, allocations: 4 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002813/0.1396, allocations: 109.5 kB / 475.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1396, allocations: 11.92 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1397, allocations: 0 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1397, allocations: 0 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1398, allocations: 19.98 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1398, allocations: 4 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.1399, allocations: 11.92 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1399, allocations: 4 kB / 475.4 MB, free: 8.633 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 9.345e-05/0.14, allocations: 113.8 kB / 475.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.14, allocations: 11.84 kB / 475.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.1404, allocations: 129.9 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1404, allocations: 0 / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1404, allocations: 0 / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1404, allocations: 3.938 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1409, allocations: 382.5 kB / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1409, allocations: 0 / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.141, allocations: 27.98 kB / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.141, allocations: 0 / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1411, allocations: 7.922 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1411, allocations: 4 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1411, allocations: 0 / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1414, allocations: 203.8 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.1415, allocations: 89.02 kB / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1415, allocations: 8.219 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.1416, allocations: 7.984 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1416, allocations: 11.92 kB / 476.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1416, allocations: 4 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.663e-05/0.1417, allocations: 103.8 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1417, allocations: 0 / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.142, allocations: 28 kB / 476.5 MB, free: 7.418 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.0009965/0.143, allocations: 446.3 kB / 476.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.1433, allocations: 79.94 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1433, allocations: 3.938 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1435, allocations: 43.91 kB / 477.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1438, allocations: 18.48 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.1442, allocations: 207.8 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1445, allocations: 0.6924 MB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.1445, allocations: 15.44 kB / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1445, allocations: 0 / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.003609/0.1482, allocations: 1.719 MB / 479.7 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches