Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002251/0.002255, 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.093/2.093, 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.001116/0.001115, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2818/0.2818, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.671e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6174, allocations: 86.99 MB / 0.5578 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.6177, allocations: 77.73 kB / 0.5578 GB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01742/0.6351, allocations: 4.291 MB / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.492e-06/0.6352, allocations: 0 / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.6352, allocations: 7.547 kB / 0.562 GB, free: 13.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005336/0.6358, allocations: 381.3 kB / 0.5624 GB, free: 12.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6358, allocations: 8.031 kB / 0.5624 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.6359, allocations: 7.953 kB / 0.5624 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.6362, allocations: 190 kB / 0.5626 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6362, allocations: 4 kB / 0.5626 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6363, allocations: 0 / 0.5626 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6364, allocations: 77.55 kB / 0.5627 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6365, allocations: 0 / 0.5627 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.6365, allocations: 0 / 0.5627 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6365, allocations: 0 / 0.5627 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.6366, allocations: 19.3 kB / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.6371, allocations: 297.6 kB / 0.563 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.6372, allocations: 37.02 kB / 0.563 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.6373, allocations: 16.48 kB / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.6373, allocations: 0 / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6373, allocations: 30.56 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.532e-06/0.6373, allocations: 4 kB / 0.563 GB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006635/0.638, allocations: 150.5 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6381, allocations: 81.11 kB / 0.5633 GB, free: 11.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.6383, allocations: 134.5 kB / 0.5634 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.6383, allocations: 25.7 kB / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.6384, allocations: 153.9 kB / 0.5636 GB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.6385, allocations: 22.95 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.6385, allocations: 0 / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6386, allocations: 318.1 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.6387, allocations: 15.5 kB / 0.5639 GB, free: 11.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.6388, allocations: 29.34 kB / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.039e-05/0.6389, allocations: 26.44 kB / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6389, allocations: 0 / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001761/0.6391, allocations: 63.61 kB / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.6391, allocations: 11.98 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6391, allocations: 3.953 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6392, allocations: 0 / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.6394, allocations: 31.39 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.6394, allocations: 0 / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.6395, allocations: 15.92 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.6396, allocations: 7.938 kB / 0.5641 GB, free: 10.96 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 (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 8.719e-05/0.6397, allocations: 108 kB / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.6397, allocations: 7.906 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.64, allocations: 91.66 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.64, allocations: 7.953 kB / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.64, allocations: 144 / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.64, allocations: 3.984 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.6406, allocations: 357.1 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6406, allocations: 0 / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.6408, allocations: 23.98 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6408, allocations: 7.953 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6408, allocations: 0 / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6408, allocations: 0 / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6408, allocations: 0 / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.6411, allocations: 180.7 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.6412, allocations: 85 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.6412, allocations: 11.52 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.6414, allocations: 15.98 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.6414, allocations: 4 kB / 0.565 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.6415, allocations: 3.984 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.6416, allocations: 106.9 kB / 0.5651 GB, free: 9.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6416, allocations: 0 / 0.5651 GB, free: 9.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.642, allocations: 38.67 kB / 0.5651 GB, free: 9.914 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 (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.001234/0.6432, allocations: 403.1 kB / 0.5655 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.6435, allocations: 44.88 kB / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6435, allocations: 0 / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.6436, allocations: 22.5 kB / 0.5655 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.6439, allocations: 17.8 kB / 0.5656 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.6443, allocations: 146 kB / 0.5657 GB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.6447, allocations: 0.7042 MB / 0.5664 GB, free: 8.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.6448, allocations: 26.73 kB / 0.5664 GB, free: 8.602 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6448, allocations: 0 / 0.5664 GB, free: 8.602 MB / 378.7 MB Notification: Performance of Templates: time 0.005143/0.6499, allocations: 1.761 MB / 0.5681 GB, free: 6.844 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches