Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001618/0.001618, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.308/1.308, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.1878/0.1878, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.94 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 60.82 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003194/0.1403, allocations: 1.561 MB / 470.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.1411, allocations: 407.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.1412, allocations: 4 kB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1416, allocations: 455.1 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.142, allocations: 247.4 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1423, allocations: 122.8 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1426, allocations: 155.7 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.1427, allocations: 15.97 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1428, allocations: 107.7 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.143, allocations: 207.7 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.143, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.1431, allocations: 20 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1432, allocations: 79.62 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.1433, allocations: 103 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1436, allocations: 239 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1436, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1436, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1436, allocations: 0 / 472.9 MB, free: 10.66 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.0007323/0.1444, allocations: 0.6183 MB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1444, allocations: 8.031 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.1445, allocations: 48.31 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1448, allocations: 288.3 kB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.1448, allocations: 384 / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.1448, allocations: 384 / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1449, allocations: 61.75 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1449, allocations: 0 / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.145, allocations: 0 / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.145, allocations: 0 / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.1451, allocations: 23.98 kB / 474 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.1455, allocations: 376.7 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.1456, allocations: 34.52 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.1457, allocations: 16.91 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1457, allocations: 0 / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1457, allocations: 38.56 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1457, allocations: 0 / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002576/0.146, allocations: 89.2 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.146, allocations: 59.34 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.1468, allocations: 0.8496 MB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1468, allocations: 25.7 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.147, allocations: 224.2 kB / 475.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.147, allocations: 7.891 kB / 475.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.147, allocations: 13.72 kB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1472, allocations: 362.7 kB / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.1473, allocations: 11.98 kB / 476 MB, free: 7.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.1473, allocations: 4 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.1474, allocations: 28.91 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1474, allocations: 0 / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/0.1475, allocations: 89.12 kB / 476.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1476, allocations: 7.938 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1476, allocations: 0 / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1476, allocations: 0 / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.1477, allocations: 11.98 kB / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1477, allocations: 0 / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.1477, allocations: 0 / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1477, allocations: 0 / 476.2 MB, free: 7.164 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.0001897/0.1479, allocations: 213.8 kB / 476.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.148, allocations: 55.3 kB / 476.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.1482, allocations: 104.6 kB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1482, allocations: 0 / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1482, allocations: 0 / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1482, allocations: 4 kB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.1485, allocations: 281.5 kB / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1485, allocations: 4.031 kB / 476.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.1486, allocations: 7.938 kB / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1486, allocations: 0 / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1486, allocations: 0 / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1486, allocations: 0 / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1486, allocations: 0 / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1488, allocations: 191 kB / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.1489, allocations: 116.6 kB / 477.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1489, allocations: 0 / 477.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.149, allocations: 0 / 477.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.149, allocations: 4 kB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.149, allocations: 0 / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006203/0.1497, allocations: 0.6472 MB / 477.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1497, allocations: 4 kB / 477.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1499, allocations: 19.94 kB / 477.8 MB, free: 5.43 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.0007526/0.1507, allocations: 357 kB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1508, allocations: 31.91 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1508, allocations: 0 / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.1509, allocations: 16.06 kB / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1512, allocations: 17.95 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.1522, allocations: 0.7633 MB / 479 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1526, allocations: 0.8182 MB / 479.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.252e-05/0.1526, allocations: 7.984 kB / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1527, allocations: 7.438 kB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1527, allocations: 4 kB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of Templates: time 0.004411/0.1571, allocations: 1.264 MB / 481.1 MB, free: 2.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches