Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001713/0.001713, 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.447/1.447, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2777/0.2777, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 68.42 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1356, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003294/0.1389, allocations: 1.687 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.1397, allocations: 455.1 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.1398, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1401, allocations: 63.8 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1403, allocations: 43.88 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1407, allocations: 166.4 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1409, allocations: 75.77 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.141, allocations: 19.98 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.1411, allocations: 31.84 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.1412, allocations: 43.83 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1412, allocations: 8 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.1413, allocations: 51.91 kB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.1414, allocations: 23.92 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.1415, allocations: 31.73 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1416, allocations: 104 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1417, allocations: 0 / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1417, allocations: 0 / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1417, allocations: 0 / 471.3 MB, free: 12.03 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.0006021/0.1423, allocations: 407.1 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1423, allocations: 12.03 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1424, allocations: 12.83 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1426, allocations: 201.9 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1427, allocations: 4.375 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1427, allocations: 4.375 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1429, allocations: 69.78 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1429, allocations: 0 / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1429, allocations: 0 / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.143, allocations: 0 / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1431, allocations: 51.91 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.1436, allocations: 320.6 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.1439, allocations: 62.58 kB / 472.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.144, allocations: 28.97 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1441, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1441, allocations: 38.55 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1441, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001542/0.1457, allocations: 413.2 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1457, allocations: 55.34 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1459, allocations: 193.8 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1459, allocations: 25.7 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.146, allocations: 108 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.1461, allocations: 39.45 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.1461, allocations: 25.72 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1463, allocations: 322.8 kB / 473.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1464, allocations: 55.95 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1465, allocations: 63.89 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1468, allocations: 124.8 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1468, allocations: 3.938 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003133/0.1471, allocations: 157.5 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1472, allocations: 8 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1472, allocations: 0 / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1472, allocations: 0 / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1473, allocations: 35.84 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1473, allocations: 0 / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.1474, allocations: 8 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1474, allocations: 7.984 kB / 474.1 MB, free: 9.012 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.0001092/0.1475, allocations: 126.4 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1476, allocations: 11.81 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.148, allocations: 190.7 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.148, allocations: 11.92 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.148, allocations: 7.938 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.148, allocations: 0 / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.1487, allocations: 496 kB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1487, allocations: 0 / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1488, allocations: 32.17 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1488, allocations: 0 / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1489, allocations: 12 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1489, allocations: 0 / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1489, allocations: 0 / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1492, allocations: 284.9 kB / 475.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1493, allocations: 85.02 kB / 475.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1493, allocations: 3.984 kB / 475.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.1494, allocations: 12.09 kB / 475.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.1495, allocations: 11.92 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1495, allocations: 4 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1496, allocations: 143.2 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1497, allocations: 4 kB / 475.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1499, allocations: 28 kB / 475.5 MB, free: 7.461 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.001085/0.151, allocations: 453.5 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.1514, allocations: 131.8 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1514, allocations: 0 / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1515, allocations: 67.89 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1519, allocations: 27.86 kB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.1525, allocations: 334.1 kB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1528, allocations: 0.7238 MB / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1529, allocations: 32.38 kB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1529, allocations: 15.44 kB / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1529, allocations: 0 / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004144/0.1571, allocations: 1.507 MB / 478.8 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches