Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001084/0.001084, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2793/0.2793, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.177e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/0.6251, allocations: 86.64 MB / 0.5574 GB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6254, allocations: 74.55 kB / 0.5575 GB, free: 0.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02858/0.654, allocations: 7.753 MB / 0.5651 GB, free: 9.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6541, allocations: 0 / 0.5651 GB, free: 9.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.6541, allocations: 4 kB / 0.5651 GB, free: 9.98 MB / 378.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.0006688/0.6548, allocations: 0.545 MB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6548, allocations: 8.031 kB / 0.5656 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/0.655, allocations: 47.39 kB / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.6556, allocations: 318 kB / 0.5659 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6556, allocations: 7.5 kB / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.6557, allocations: 0 / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.6558, allocations: 45.19 kB / 0.566 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6558, allocations: 0 / 0.566 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6558, allocations: 7.438 kB / 0.566 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.6558, allocations: 3.984 kB / 0.566 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.6559, allocations: 15.45 kB / 0.566 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.6567, allocations: 422.4 kB / 0.5664 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.688e-05/0.6568, allocations: 26.33 kB / 0.5664 GB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.6568, allocations: 12.92 kB / 0.5665 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.6568, allocations: 0 / 0.5665 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.6569, allocations: 34.52 kB / 0.5665 GB, free: 8.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.6569, allocations: 0 / 0.5665 GB, free: 8.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.6571, allocations: 88.62 kB / 0.5666 GB, free: 8.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.6572, allocations: 51.41 kB / 0.5666 GB, free: 8.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.659, allocations: 0.7775 MB / 0.5674 GB, free: 7.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.659, allocations: 25.7 kB / 0.5674 GB, free: 7.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.6592, allocations: 241.8 kB / 0.5676 GB, free: 7.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.6592, allocations: 15.88 kB / 0.5677 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.6592, allocations: 3.875 kB / 0.5677 GB, free: 7.484 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6594, allocations: 310.8 kB / 0.568 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.6594, allocations: 4 kB / 0.568 GB, free: 7.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.6594, allocations: 3.938 kB / 0.568 GB, free: 7.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.6595, allocations: 7.312 kB / 0.568 GB, free: 7.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6595, allocations: 3.828 kB / 0.568 GB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.6596, allocations: 49.2 kB / 0.568 GB, free: 7.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6596, allocations: 7.984 kB / 0.568 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6597, allocations: 0 / 0.568 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6597, allocations: 3.953 kB / 0.568 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.6598, allocations: 4 kB / 0.568 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.6598, allocations: 0 / 0.568 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.66, allocations: 4 kB / 0.568 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.66, allocations: 4 kB / 0.568 GB, free: 7.086 MB / 378.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 7.019e-05/0.6601, allocations: 105 kB / 0.5681 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.6602, allocations: 47.44 kB / 0.5682 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.6604, allocations: 94.14 kB / 0.5683 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6604, allocations: 3.953 kB / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6605, allocations: 0 / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6605, allocations: 0 / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.6609, allocations: 327.8 kB / 0.5686 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6609, allocations: 0 / 0.5686 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.661, allocations: 7.938 kB / 0.5686 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.661, allocations: 4.031 kB / 0.5686 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.661, allocations: 0 / 0.5686 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.661, allocations: 3.984 kB / 0.5686 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.661, allocations: 7.953 kB / 0.5686 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.6613, allocations: 169 kB / 0.5688 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.6616, allocations: 160.8 kB / 0.5689 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.6616, allocations: 0 / 0.5689 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.6618, allocations: 12.02 kB / 0.5689 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.6618, allocations: 0 / 0.5689 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.6619, allocations: 3.953 kB / 0.5689 GB, free: 6.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.663, allocations: 0.6366 MB / 0.5696 GB, free: 5.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.663, allocations: 0 / 0.5696 GB, free: 5.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000397/0.6634, allocations: 52 kB / 0.5696 GB, free: 5.617 MB / 378.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.000973/0.6644, allocations: 331.8 kB / 0.5699 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.6645, allocations: 14.19 kB / 0.5699 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6645, allocations: 0 / 0.5699 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.6645, allocations: 4 kB / 0.57 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.6649, allocations: 34.92 kB / 0.57 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.6665, allocations: 0.7288 MB / 0.5707 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.6671, allocations: 0.8286 MB / 0.5715 GB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6672, allocations: 27.61 kB / 0.5715 GB, free: 3.762 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6672, allocations: 0 / 0.5715 GB, free: 3.762 MB / 378.7 MB Notification: Performance of Templates: time 0.0112/0.6784, allocations: 3.978 MB / 0.5754 GB, free: 15.79 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches