Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001132/0.001131, allocations: 88.38 kB / 270.9 MB, free: 8.395 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.5061/0.5061, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004773, allocations: 19.94 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.6299, allocations: 87.08 MB / 0.5638 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.6303, allocations: 74.12 kB / 0.5638 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.6484, allocations: 4.475 MB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6485, allocations: 4 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.6485, allocations: 4 kB / 0.5682 GB, free: 10.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005694/0.6491, allocations: 397.7 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6491, allocations: 16.02 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.6492, allocations: 7.344 kB / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.6495, allocations: 195 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6495, allocations: 3.938 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.6495, allocations: 4 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.6498, allocations: 75.39 kB / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6498, allocations: 0 / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.6498, allocations: 1.031 kB / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6498, allocations: 0 / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.6501, allocations: 47.97 kB / 0.5689 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.6506, allocations: 292.7 kB / 0.5692 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.6508, allocations: 46.55 kB / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.6508, allocations: 4 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.6509, allocations: 34.56 kB / 0.5693 GB, free: 9.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.6509, allocations: 0 / 0.5693 GB, free: 9.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00122/0.6521, allocations: 245.6 kB / 0.5695 GB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.6522, allocations: 81.64 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.6524, allocations: 126.8 kB / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6524, allocations: 29.7 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.6525, allocations: 158.5 kB / 0.5699 GB, free: 9.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.6525, allocations: 23.66 kB / 0.5699 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.6526, allocations: 0.5469 kB / 0.5699 GB, free: 9.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6527, allocations: 315.2 kB / 0.5702 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.6529, allocations: 39.97 kB / 0.5703 GB, free: 8.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.6531, allocations: 61.62 kB / 0.5703 GB, free: 8.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.6534, allocations: 44.83 kB / 0.5704 GB, free: 8.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6534, allocations: 3.938 kB / 0.5704 GB, free: 8.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004959/0.6539, allocations: 125.6 kB / 0.5705 GB, free: 8.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6539, allocations: 4 kB / 0.5705 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6539, allocations: 0 / 0.5705 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.654, allocations: 3.953 kB / 0.5705 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.6542, allocations: 31.97 kB / 0.5705 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6542, allocations: 0.7812 kB / 0.5705 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.6543, allocations: 19.98 kB / 0.5705 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.6544, allocations: 0 / 0.5705 GB, free: 8.367 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001281/0.6545, allocations: 117.8 kB / 0.5707 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.6546, allocations: 9.406 kB / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.6552, allocations: 142.6 kB / 0.5708 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6552, allocations: 3.953 kB / 0.5708 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.6552, allocations: 3.984 kB / 0.5708 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6552, allocations: 8 kB / 0.5708 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.6561, allocations: 402.5 kB / 0.5712 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6561, allocations: 4 kB / 0.5712 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6563, allocations: 23.98 kB / 0.5712 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6563, allocations: 4.703 kB / 0.5712 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6563, allocations: 0 / 0.5712 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.6563, allocations: 4 kB / 0.5712 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6563, allocations: 3.984 kB / 0.5712 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.6569, allocations: 223.3 kB / 0.5715 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.657, allocations: 85.02 kB / 0.5715 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.657, allocations: 15.94 kB / 0.5716 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.6572, allocations: 8 kB / 0.5716 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.6572, allocations: 15.92 kB / 0.5716 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6573, allocations: 4 kB / 0.5716 GB, free: 7.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.6574, allocations: 111.2 kB / 0.5717 GB, free: 7.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6574, allocations: 0 / 0.5717 GB, free: 7.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.6578, allocations: 35.88 kB / 0.5717 GB, free: 7.066 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001292/0.6591, allocations: 447.1 kB / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.6597, allocations: 103.9 kB / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6597, allocations: 0 / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.6599, allocations: 51.97 kB / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.6602, allocations: 19.91 kB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.6608, allocations: 221.2 kB / 0.5725 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.6611, allocations: 0.7004 MB / 0.5732 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.6612, allocations: 11.44 kB / 0.5732 GB, free: 5.574 MB / 394.7 MB Notification: Performance of SimCode: time 3.146e-06/0.6612, allocations: 0 / 0.5732 GB, free: 5.574 MB / 394.7 MB Notification: Performance of Templates: time 0.00524/0.6665, allocations: 1.786 MB / 0.575 GB, free: 3.789 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches