Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001531, allocations: 186.3 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.906/1.906, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001159/0.001159, allocations: 87.3 kB / 270.9 MB, free: 8.379 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.5045/0.5045, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005496, allocations: 19.94 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.5807, allocations: 86.9 MB / 0.5636 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.581, allocations: 75.95 kB / 0.5637 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03243/0.6135, allocations: 7.983 MB / 0.5715 GB, free: 7.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6135, allocations: 0 / 0.5715 GB, free: 7.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.6136, allocations: 4 kB / 0.5715 GB, free: 7.602 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.0009711/0.6146, allocations: 0.6356 MB / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6146, allocations: 12.02 kB / 0.5721 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6147, allocations: 43.44 kB / 0.5721 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.6154, allocations: 328.4 kB / 0.5725 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6154, allocations: 8 kB / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.6154, allocations: 4 kB / 0.5725 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.6156, allocations: 50.72 kB / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6157, allocations: 0 / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6157, allocations: 0 / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6157, allocations: 0 / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.6159, allocations: 35.94 kB / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.6167, allocations: 436.6 kB / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.617, allocations: 42.56 kB / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.6171, allocations: 0 / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6171, allocations: 42.66 kB / 0.573 GB, free: 5.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.6171, allocations: 2.906 kB / 0.573 GB, free: 5.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009859/0.6181, allocations: 252 kB / 0.5733 GB, free: 5.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6182, allocations: 55.41 kB / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.6202, allocations: 0.7785 MB / 0.5741 GB, free: 4.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.6203, allocations: 25.7 kB / 0.5741 GB, free: 4.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.6205, allocations: 251 kB / 0.5744 GB, free: 4.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.6206, allocations: 11.72 kB / 0.5744 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.6206, allocations: 4 kB / 0.5744 GB, free: 4.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6207, allocations: 314.8 kB / 0.5747 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.6209, allocations: 20.53 kB / 0.5747 GB, free: 4.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.621, allocations: 24.86 kB / 0.5747 GB, free: 4.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.6212, allocations: 23.98 kB / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6212, allocations: 0 / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003348/0.6215, allocations: 85.86 kB / 0.5748 GB, free: 3.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6216, allocations: 11.89 kB / 0.5748 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6216, allocations: 4.062 kB / 0.5748 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6216, allocations: 0 / 0.5748 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.6217, allocations: 15.98 kB / 0.5749 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.6217, allocations: 0 / 0.5749 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.6219, allocations: 23.86 kB / 0.5749 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.622, allocations: 0 / 0.5749 GB, free: 3.902 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 (5): * Single equations (assignments): 5 * 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.0003584/0.6223, allocations: 209.8 kB / 0.5751 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.6225, allocations: 43.44 kB / 0.5751 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.623, allocations: 149.9 kB / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.623, allocations: 0 / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.623, allocations: 4 kB / 0.5753 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6231, allocations: 0 / 0.5753 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6244, allocations: 0.5843 MB / 0.5758 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6244, allocations: 4 kB / 0.5758 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.6246, allocations: 23.94 kB / 0.5759 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6246, allocations: 0 / 0.5759 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.6246, allocations: 1.031 kB / 0.5759 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6246, allocations: 0 / 0.5759 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6247, allocations: 0 / 0.5759 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.6252, allocations: 226.9 kB / 0.5761 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.6255, allocations: 156.6 kB / 0.5762 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.6256, allocations: 3.953 kB / 0.5762 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.6257, allocations: 12 kB / 0.5762 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.6258, allocations: 4.172 kB / 0.5763 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6258, allocations: 8 kB / 0.5763 GB, free: 2.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001352/0.6272, allocations: 0.6394 MB / 0.5769 GB, free: 1.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.61e-07/0.6272, allocations: 0 / 0.5769 GB, free: 1.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.6277, allocations: 63.94 kB / 0.5769 GB, free: 1.684 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 (5): * Single equations (assignments): 5 * 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.001232/0.629, allocations: 402.3 kB / 0.5773 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.6294, allocations: 55.97 kB / 0.5774 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6294, allocations: 0 / 0.5774 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.6295, allocations: 31.92 kB / 0.5774 GB, free: 1.297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.63, allocations: 21.95 kB / 0.5774 GB, free: 1.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.6321, allocations: 0.9405 MB / 0.5784 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.6327, allocations: 0.834 MB / 0.5792 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6329, allocations: 27.62 kB / 0.5792 GB, free: 15.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6329, allocations: 0 / 0.5792 GB, free: 15.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01225/0.6451, allocations: 4.229 MB / 0.5833 GB, free: 11.18 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches