Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009696/0.0009698, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008127, allocations: 98.36 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3501/0.3501, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.669e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.546, allocations: 87.03 MB / 0.5578 GB, free: 16.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.5462, allocations: 73.73 kB / 0.5579 GB, free: 16.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.5612, allocations: 7.879 MB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5612, allocations: 0 / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.5612, allocations: 7.938 kB / 0.5656 GB, free: 11.51 MB / 394.7 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.0004367/0.5617, allocations: 0.54 MB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5617, allocations: 12.03 kB / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.5618, allocations: 43.44 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.5622, allocations: 324.6 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5623, allocations: 0 / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.5623, allocations: 4 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.5624, allocations: 54.56 kB / 0.5665 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5624, allocations: 0.5469 kB / 0.5665 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5624, allocations: 0 / 0.5665 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5624, allocations: 0 / 0.5665 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.5625, allocations: 22.83 kB / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.5631, allocations: 433.8 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.756e-05/0.5631, allocations: 33.67 kB / 0.567 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.5632, allocations: 15.97 kB / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5632, allocations: 0 / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.5632, allocations: 42.52 kB / 0.567 GB, free: 9.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5632, allocations: 0 / 0.567 GB, free: 9.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000174/0.5634, allocations: 80.52 kB / 0.5671 GB, free: 9.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.5635, allocations: 51.41 kB / 0.5672 GB, free: 9.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/0.5644, allocations: 0.7874 MB / 0.5679 GB, free: 9.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.5645, allocations: 25.7 kB / 0.568 GB, free: 9.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5646, allocations: 219 kB / 0.5682 GB, free: 9.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.5646, allocations: 11.94 kB / 0.5682 GB, free: 9.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5646, allocations: 0 / 0.5682 GB, free: 9.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.5647, allocations: 360.5 kB / 0.5685 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.5647, allocations: 11.56 kB / 0.5685 GB, free: 8.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.5648, allocations: 4 kB / 0.5685 GB, free: 8.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.5648, allocations: 11.36 kB / 0.5686 GB, free: 8.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5648, allocations: 0 / 0.5686 GB, free: 8.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.785e-05/0.5649, allocations: 77.17 kB / 0.5686 GB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5649, allocations: 8.094 kB / 0.5686 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5649, allocations: 4 kB / 0.5686 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5649, allocations: 7.938 kB / 0.5686 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.565, allocations: 7.984 kB / 0.5687 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.565, allocations: 0 / 0.5687 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.5651, allocations: 4 kB / 0.5687 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.5651, allocations: 0 / 0.5687 GB, free: 8.562 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.5652, allocations: 110.1 kB / 0.5688 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.5652, allocations: 39.44 kB / 0.5688 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.5654, allocations: 107 kB / 0.5689 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5654, allocations: 5.641 kB / 0.5689 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5654, allocations: 0 / 0.5689 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5654, allocations: 7.938 kB / 0.5689 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.5656, allocations: 323.6 kB / 0.5692 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5656, allocations: 0 / 0.5692 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.5657, allocations: 8 kB / 0.5692 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5657, allocations: 3.984 kB / 0.5692 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-06/0.5657, allocations: 0 / 0.5692 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5657, allocations: 4.031 kB / 0.5692 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5657, allocations: 3.953 kB / 0.5692 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.5658, allocations: 185.9 kB / 0.5694 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.566, allocations: 163.5 kB / 0.5696 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.5661, allocations: 0 / 0.5696 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.5662, allocations: 4 kB / 0.5696 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5662, allocations: 0 / 0.5696 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.5662, allocations: 7.984 kB / 0.5696 GB, free: 7.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000529/0.5667, allocations: 0.6341 MB / 0.5702 GB, free: 7.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5668, allocations: 0 / 0.5702 GB, free: 7.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.567, allocations: 49.31 kB / 0.5703 GB, free: 7.086 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006681/0.5677, allocations: 322.3 kB / 0.5706 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.95e-05/0.5678, allocations: 19.62 kB / 0.5706 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5678, allocations: 0 / 0.5706 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.5678, allocations: 7.984 kB / 0.5706 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.568, allocations: 20.78 kB / 0.5706 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.5689, allocations: 0.7007 MB / 0.5713 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5692, allocations: 0.8327 MB / 0.5721 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.5693, allocations: 40.38 kB / 0.5721 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.5693, allocations: 23.42 kB / 0.5722 GB, free: 5.246 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5694, allocations: 0 / 0.5722 GB, free: 5.246 MB / 394.7 MB Notification: Performance of Templates: time 0.005109/0.5745, allocations: 2.269 MB / 0.5744 GB, free: 2.98 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches