Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001846/0.001846, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.521/1.521, allocations: 222.9 MB / 243 MB, free: 15.07 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.2652/0.2652, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 62.03 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1397, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003156/0.1429, allocations: 1.603 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.1437, allocations: 455 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1438, allocations: 4 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.1443, allocations: 451.2 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.1447, allocations: 247.5 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1451, allocations: 175.3 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1453, allocations: 167.6 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1455, allocations: 20.17 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1456, allocations: 107.8 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1458, allocations: 211.6 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1458, allocations: 4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.1459, allocations: 27.98 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.146, allocations: 87.62 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.1461, allocations: 103 kB / 474.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1464, allocations: 255 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1464, allocations: 0 / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1464, allocations: 0 / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1464, allocations: 0 / 474.6 MB, free: 9.746 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.0007256/0.1472, allocations: 0.6259 MB / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1472, allocations: 12.03 kB / 475.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1473, allocations: 44.38 kB / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1476, allocations: 300.1 kB / 475.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1476, allocations: 4.375 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1476, allocations: 8.297 kB / 475.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1478, allocations: 61.61 kB / 475.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1478, allocations: 0 / 475.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1478, allocations: 0 / 475.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1478, allocations: 0 / 475.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.1479, allocations: 35.97 kB / 475.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.1484, allocations: 392.7 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1486, allocations: 42.56 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.1487, allocations: 16.86 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1487, allocations: 8.016 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1488, allocations: 42.55 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1488, allocations: 0 / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000554/0.1493, allocations: 231.9 kB / 476.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1494, allocations: 51.41 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.1502, allocations: 0.869 MB / 477.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1502, allocations: 29.7 kB / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1504, allocations: 216.1 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1504, allocations: 19.86 kB / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1504, allocations: 17.72 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1506, allocations: 362.7 kB / 477.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.1506, allocations: 23.97 kB / 477.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.1507, allocations: 19.98 kB / 478 MB, free: 6.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1508, allocations: 56.83 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1508, allocations: 0 / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001952/0.151, allocations: 121.1 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1511, allocations: 8 kB / 478.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1511, allocations: 0 / 478.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1511, allocations: 0 / 478.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.1512, allocations: 11.94 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1512, allocations: 0 / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.1512, allocations: 15.92 kB / 478.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1512, allocations: 4 kB / 478.2 MB, free: 5.906 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 (5): * Single equations (assignments): 5 * 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.0001794/0.1514, allocations: 213.8 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1515, allocations: 35.53 kB / 478.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1518, allocations: 141 kB / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1518, allocations: 0 / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1518, allocations: 0 / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1518, allocations: 7.938 kB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1523, allocations: 474.6 kB / 479 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1523, allocations: 0 / 479 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.1524, allocations: 15.98 kB / 479 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1524, allocations: 0 / 479 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1524, allocations: 7.875 kB / 479 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1524, allocations: 0 / 479 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1524, allocations: 3.938 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1527, allocations: 219 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.1527, allocations: 108.5 kB / 479.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1528, allocations: 7.938 kB / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.1529, allocations: 7.984 kB / 479.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1529, allocations: 4 kB / 479.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1529, allocations: 0 / 479.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005504/0.1535, allocations: 0.655 MB / 480 MB, free: 3.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1535, allocations: 0 / 480 MB, free: 3.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1537, allocations: 24 kB / 480.1 MB, free: 3.898 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 (5): * Single equations (assignments): 5 * 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.0008942/0.1546, allocations: 401.5 kB / 480.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1548, allocations: 47.91 kB / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1548, allocations: 0 / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.1549, allocations: 35.98 kB / 480.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1553, allocations: 25.89 kB / 480.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009416/0.1562, allocations: 0.7911 MB / 481.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1566, allocations: 0.826 MB / 482.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.1567, allocations: 15.97 kB / 482.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1567, allocations: 23.38 kB / 482.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1567, allocations: 0 / 482.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of Templates: time 0.004577/0.1613, allocations: 1.472 MB / 483.7 MB, free: 392 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches