Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 113.4 kB / 17.86 MB, free: 5.625 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.001172/0.001172, allocations: 201.9 kB / 18.77 MB, free: 4.711 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.378/1.378, allocations: 222.9 MB / 242.5 MB, free: 15.41 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.232/0.232, allocations: 44.17 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 60.72 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003897/0.1361, allocations: 1.692 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.1372, allocations: 459.1 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.389e-05/0.1373, allocations: 0 / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.1379, allocations: 447.2 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.1383, allocations: 251.5 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1389, allocations: 162.7 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.1392, allocations: 167.7 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1394, allocations: 23.98 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1396, allocations: 111.7 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1398, allocations: 203.6 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1398, allocations: 4 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.14, allocations: 51.91 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1401, allocations: 83.69 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1402, allocations: 107 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1405, allocations: 196 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1405, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1405, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1405, allocations: 0 / 473.1 MB, free: 10.91 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.0008513/0.1414, allocations: 0.6491 MB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1414, allocations: 12.03 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.1416, allocations: 40.47 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1419, allocations: 300.1 kB / 474.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1419, allocations: 4.359 kB / 474.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1419, allocations: 12.31 kB / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1421, allocations: 65.8 kB / 474.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1422, allocations: 0 / 474.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1422, allocations: 3.938 kB / 474.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1422, allocations: 0 / 474.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1424, allocations: 47.95 kB / 474.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.143, allocations: 408.6 kB / 474.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1433, allocations: 70.58 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.1434, allocations: 24.97 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1434, allocations: 0 / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1434, allocations: 38.56 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1434, allocations: 0 / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001607/0.145, allocations: 499.9 kB / 475.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1451, allocations: 59.28 kB / 475.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.146, allocations: 0.8574 MB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.146, allocations: 25.7 kB / 476.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1462, allocations: 216 kB / 476.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1462, allocations: 39.44 kB / 476.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.1463, allocations: 25.7 kB / 476.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1465, allocations: 362.8 kB / 476.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1466, allocations: 55.95 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1468, allocations: 55.95 kB / 476.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.147, allocations: 120.9 kB / 477 MB, free: 6.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1471, allocations: 4 kB / 477 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000395/0.1475, allocations: 197 kB / 477.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1475, allocations: 8 kB / 477.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1475, allocations: 3.938 kB / 477.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1475, allocations: 0 / 477.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1476, allocations: 31.91 kB / 477.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1477, allocations: 0 / 477.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.1477, allocations: 12 kB / 477.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1478, allocations: 0 / 477.3 MB, free: 6.492 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.0002171/0.148, allocations: 222.3 kB / 477.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.1481, allocations: 43.44 kB / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.1485, allocations: 229.7 kB / 477.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1485, allocations: 3.938 kB / 477.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1485, allocations: 7.938 kB / 477.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1486, allocations: 0 / 477.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000844/0.1494, allocations: 0.5897 MB / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1494, allocations: 0 / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1495, allocations: 36.03 kB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1496, allocations: 4 kB / 478.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1496, allocations: 0 / 478.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1496, allocations: 0 / 478.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1496, allocations: 4 kB / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.15, allocations: 308.6 kB / 478.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.1501, allocations: 108.5 kB / 478.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.1501, allocations: 8 kB / 478.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1502, allocations: 7.984 kB / 478.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.1503, allocations: 11.98 kB / 478.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1503, allocations: 4 kB / 478.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006087/0.1509, allocations: 0.6472 MB / 479.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 0 / 479.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.1513, allocations: 32 kB / 479.5 MB, free: 4.125 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.001116/0.1524, allocations: 459.2 kB / 480 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.1528, allocations: 131.8 kB / 480.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1528, allocations: 7.875 kB / 480.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1529, allocations: 67.89 kB / 480.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1534, allocations: 35.84 kB / 480.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1548, allocations: 0.9918 MB / 481.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.1553, allocations: 0.8379 MB / 482 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.1553, allocations: 11.44 kB / 482 MB, free: 1.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1553, allocations: 8 kB / 482.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Templates: time 0.008276/0.1636, allocations: 4.151 MB / 486.2 MB, free: 13.55 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches