Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002065/0.002065, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 84.97 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2879/0.2879, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.092e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3897, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5478, allocations: 85.68 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5481, allocations: 75.95 kB / 0.5496 GB, free: 13.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.5589, allocations: 2.851 MB / 0.5524 GB, free: 10.68 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.559, allocations: 4 kB / 0.5524 GB, free: 10.68 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.559, allocations: 0 / 0.5524 GB, free: 10.68 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000369/0.5594, allocations: 356.7 kB / 0.5528 GB, free: 10.29 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5594, allocations: 8.031 kB / 0.5528 GB, free: 10.28 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.5595, allocations: 12.2 kB / 0.5528 GB, free: 10.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.5597, allocations: 181.9 kB / 0.553 GB, free: 10.05 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.5597, allocations: 4 kB / 0.553 GB, free: 10.05 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.5597, allocations: 4 kB / 0.553 GB, free: 10.04 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001284/0.5599, allocations: 31.98 kB / 0.553 GB, free: 10.01 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.5601, allocations: 171.3 kB / 0.5532 GB, free: 9.789 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5601, allocations: 0 / 0.5532 GB, free: 9.789 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.5602, allocations: 11.95 kB / 0.5532 GB, free: 9.777 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.5602, allocations: 7.984 kB / 0.5532 GB, free: 9.77 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.5615, allocations: 1.678 MB / 0.5548 GB, free: 7.996 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.593e-05/0.5616, allocations: 169.1 kB / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.5617, allocations: 80.14 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.5617, allocations: 79.27 kB / 0.5551 GB, free: 7.66 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.5618, allocations: 113.8 kB / 0.5552 GB, free: 7.539 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/0.5618, allocations: 0 / 0.5552 GB, free: 7.539 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 9.383e-05/0.5619, allocations: 37.55 kB / 0.5553 GB, free: 7.496 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.562, allocations: 51.41 kB / 0.5553 GB, free: 7.434 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.5622, allocations: 168.1 kB / 0.5555 GB, free: 7.266 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.5622, allocations: 25.7 kB / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.5624, allocations: 217.5 kB / 0.5557 GB, free: 7.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.5624, allocations: 3.984 kB / 0.5557 GB, free: 7.016 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5624, allocations: 4 kB / 0.5557 GB, free: 7.012 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5626, allocations: 318.8 kB / 0.556 GB, free: 6.691 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.5626, allocations: 27.98 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5628, allocations: 148.4 kB / 0.5562 GB, free: 6.461 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.563, allocations: 67.94 kB / 0.5563 GB, free: 6.395 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.563, allocations: 4 kB / 0.5563 GB, free: 6.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003923/0.5634, allocations: 165.8 kB / 0.5564 GB, free: 6.223 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.5634, allocations: 12.53 kB / 0.5564 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5635, allocations: 11.98 kB / 0.5565 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.5635, allocations: 8 kB / 0.5565 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.5637, allocations: 35.92 kB / 0.5565 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.5638, allocations: 8 kB / 0.5565 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.5639, allocations: 15.78 kB / 0.5565 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.5639, allocations: 16 kB / 0.5565 GB, free: 6.117 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000126/0.5641, allocations: 188.1 kB / 0.5567 GB, free: 5.926 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.5642, allocations: 116.7 kB / 0.5568 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/0.5643, allocations: 120.9 kB / 0.5569 GB, free: 5.676 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.5643, allocations: 180.2 kB / 0.5571 GB, free: 5.492 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-05/0.5644, allocations: 186.8 kB / 0.5573 GB, free: 5.305 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.473e-05/0.5645, allocations: 180.3 kB / 0.5575 GB, free: 5.121 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.5648, allocations: 401.8 kB / 0.5578 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.69e-05/0.5649, allocations: 108.9 kB / 0.558 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.5649, allocations: 101 kB / 0.558 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.288e-05/0.565, allocations: 180.2 kB / 0.5582 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/0.5651, allocations: 180.2 kB / 0.5584 GB, free: 4.098 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-05/0.5652, allocations: 180.3 kB / 0.5586 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.83e-05/0.5653, allocations: 180.2 kB / 0.5587 GB, free: 3.73 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.5655, allocations: 323.6 kB / 0.559 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5656, allocations: 182 kB / 0.5592 GB, free: 3.188 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5658, allocations: 188.2 kB / 0.5594 GB, free: 2.996 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5659, allocations: 101 kB / 0.5595 GB, free: 2.891 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.566, allocations: 188.2 kB / 0.5597 GB, free: 2.699 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.566, allocations: 104.9 kB / 0.5598 GB, free: 2.59 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.5662, allocations: 132 kB / 0.5599 GB, free: 2.461 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5662, allocations: 0 / 0.5599 GB, free: 2.461 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.5666, allocations: 12 kB / 0.5599 GB, free: 2.449 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005987/0.5672, allocations: 255.2 kB / 0.5602 GB, free: 2.207 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.5674, allocations: 59.86 kB / 0.5602 GB, free: 2.148 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.5675, allocations: 0 / 0.5602 GB, free: 2.148 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.5675, allocations: 3.938 kB / 0.5602 GB, free: 2.145 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.5679, allocations: 0.5314 MB / 0.5607 GB, free: 1.609 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.5683, allocations: 229.5 kB / 0.561 GB, free: 1.352 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.5686, allocations: 0.7045 MB / 0.5616 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.5687, allocations: 15.44 kB / 0.5617 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5687, allocations: 0 / 0.5617 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of Templates: time 0.004032/0.5727, allocations: 1.277 MB / 0.5629 GB, free: 15.32 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches