Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009667/0.0009667, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.697/1.697, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008303/0.0008307, allocations: 86.39 kB / 271.3 MB, free: 8.25 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.3767/0.3767, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004201, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3565/0.4964, allocations: 87.26 MB / 0.5652 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4968, allocations: 77.77 kB / 0.5652 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.5081, allocations: 4.221 MB / 0.5694 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5082, allocations: 1.031 kB / 0.5694 GB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5082, allocations: 0 / 0.5694 GB, free: 10.48 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.0005137/0.5087, allocations: 417.6 kB / 0.5698 GB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5088, allocations: 12.03 kB / 0.5698 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.5088, allocations: 12.84 kB / 0.5698 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.5091, allocations: 197.3 kB / 0.57 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5091, allocations: 4.375 kB / 0.57 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.5091, allocations: 384 / 0.57 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.5093, allocations: 69.73 kB / 0.57 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5094, allocations: 0 / 0.57 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5094, allocations: 12 kB / 0.5701 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5094, allocations: 2.906 kB / 0.5701 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.5095, allocations: 43.95 kB / 0.5701 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.5101, allocations: 321.4 kB / 0.5704 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.5102, allocations: 54.5 kB / 0.5705 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.5103, allocations: 32.92 kB / 0.5705 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.5103, allocations: 4 kB / 0.5705 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5104, allocations: 34.61 kB / 0.5705 GB, free: 9.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.5104, allocations: 0 / 0.5705 GB, free: 9.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008536/0.5113, allocations: 269.1 kB / 0.5708 GB, free: 8.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.5113, allocations: 55.39 kB / 0.5708 GB, free: 8.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.5115, allocations: 166.5 kB / 0.571 GB, free: 8.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5115, allocations: 25.7 kB / 0.571 GB, free: 8.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.5116, allocations: 104 kB / 0.5711 GB, free: 8.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.5116, allocations: 27.72 kB / 0.5711 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.5116, allocations: 0 / 0.5711 GB, free: 8.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5117, allocations: 326.8 kB / 0.5715 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.5119, allocations: 47.97 kB / 0.5715 GB, free: 8.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.512, allocations: 47.95 kB / 0.5715 GB, free: 8.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.5122, allocations: 108.7 kB / 0.5717 GB, free: 7.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5122, allocations: 0 / 0.5717 GB, free: 7.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002931/0.5125, allocations: 141.8 kB / 0.5718 GB, free: 7.785 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5126, allocations: 4 kB / 0.5718 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5126, allocations: 0 / 0.5718 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5126, allocations: 4 kB / 0.5718 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5127, allocations: 27.97 kB / 0.5718 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5127, allocations: 0 / 0.5718 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.5128, allocations: 15.94 kB / 0.5718 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5128, allocations: 3.984 kB / 0.5718 GB, free: 7.73 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.0001088/0.5129, allocations: 129.8 kB / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.513, allocations: 7.906 kB / 0.572 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.5133, allocations: 162.3 kB / 0.5721 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5134, allocations: 5.031 kB / 0.5721 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5134, allocations: 0 / 0.5721 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5134, allocations: 3.938 kB / 0.5721 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.514, allocations: 430.4 kB / 0.5725 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.514, allocations: 4 kB / 0.5726 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.5141, allocations: 19.98 kB / 0.5726 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5141, allocations: 4 kB / 0.5726 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5141, allocations: 3.938 kB / 0.5726 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5141, allocations: 3.984 kB / 0.5726 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5141, allocations: 4 kB / 0.5726 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.5145, allocations: 239.3 kB / 0.5728 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.5146, allocations: 100.9 kB / 0.5729 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.5146, allocations: 7.875 kB / 0.5729 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.5147, allocations: 15.98 kB / 0.5729 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5147, allocations: 11.98 kB / 0.5729 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.5147, allocations: 0 / 0.5729 GB, free: 6.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.5149, allocations: 133.5 kB / 0.5731 GB, free: 6.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5149, allocations: 4 kB / 0.5731 GB, free: 6.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.5151, allocations: 27.92 kB / 0.5731 GB, free: 6.336 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.0009199/0.5161, allocations: 403.2 kB / 0.5735 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5164, allocations: 99.92 kB / 0.5736 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5164, allocations: 4 kB / 0.5736 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.5165, allocations: 55.91 kB / 0.5736 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.5168, allocations: 23.92 kB / 0.5737 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.5174, allocations: 247.7 kB / 0.5739 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.5177, allocations: 0.7121 MB / 0.5746 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.047e-05/0.5178, allocations: 24.64 kB / 0.5746 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.5179, allocations: 11.44 kB / 0.5746 GB, free: 4.816 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5179, allocations: 0 / 0.5746 GB, free: 4.816 MB / 394.7 MB Notification: Performance of Templates: time 0.003739/0.5216, allocations: 1.262 MB / 0.5759 GB, free: 3.562 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches