Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009047/0.0009047, allocations: 182.3 kB / 17.41 MB, free: 4.406 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.339/1.339, allocations: 205.4 MB / 223.6 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.0008851/0.0008857, allocations: 84.98 kB / 271.9 MB, free: 8.254 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.369/0.369, allocations: 43.57 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003991, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.499, allocations: 87.26 MB / 0.5651 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4993, allocations: 75.97 kB / 0.5652 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.5108, allocations: 4.425 MB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5108, allocations: 4 kB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.5108, allocations: 0 / 0.5695 GB, free: 10.55 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.0004702/0.5113, allocations: 430.6 kB / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5114, allocations: 9.25 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.5114, allocations: 16.75 kB / 0.57 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.5117, allocations: 212.8 kB / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.5117, allocations: 384 / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.5117, allocations: 8.375 kB / 0.5702 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5119, allocations: 66.17 kB / 0.5702 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5119, allocations: 192 / 0.5702 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5119, allocations: 7.938 kB / 0.5703 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.512, allocations: 0 / 0.5703 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.5121, allocations: 47.95 kB / 0.5703 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.5126, allocations: 324.7 kB / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5127, allocations: 50.48 kB / 0.5707 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.5128, allocations: 32.94 kB / 0.5707 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5128, allocations: 2.719 kB / 0.5707 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5129, allocations: 38.62 kB / 0.5707 GB, free: 9.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.5129, allocations: 0 / 0.5707 GB, free: 9.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008058/0.5137, allocations: 273.2 kB / 0.571 GB, free: 8.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5137, allocations: 55.41 kB / 0.571 GB, free: 8.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5139, allocations: 210.8 kB / 0.5712 GB, free: 8.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.514, allocations: 25.7 kB / 0.5713 GB, free: 8.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.514, allocations: 112 kB / 0.5714 GB, free: 8.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.5141, allocations: 23.64 kB / 0.5714 GB, free: 8.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.5141, allocations: 8 kB / 0.5714 GB, free: 8.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5142, allocations: 326.8 kB / 0.5717 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5143, allocations: 43.97 kB / 0.5718 GB, free: 8.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.5144, allocations: 43.97 kB / 0.5718 GB, free: 8.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.5147, allocations: 108.7 kB / 0.5719 GB, free: 7.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5147, allocations: 0 / 0.5719 GB, free: 7.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.515, allocations: 141.5 kB / 0.572 GB, free: 7.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.515, allocations: 4 kB / 0.572 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.515, allocations: 3.938 kB / 0.572 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.515, allocations: 0 / 0.572 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5151, allocations: 23.98 kB / 0.5721 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5151, allocations: 0 / 0.5721 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.5152, allocations: 19.98 kB / 0.5721 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5152, allocations: 4 kB / 0.5721 GB, free: 7.715 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 9.356e-05/0.5153, allocations: 134.2 kB / 0.5722 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.5154, allocations: 11.81 kB / 0.5722 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.5157, allocations: 163.3 kB / 0.5724 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5157, allocations: 4 kB / 0.5724 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5157, allocations: 0 / 0.5724 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5158, allocations: 0 / 0.5724 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.5163, allocations: 456.1 kB / 0.5728 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5164, allocations: 0 / 0.5728 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.5165, allocations: 23.98 kB / 0.5729 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5165, allocations: 4 kB / 0.5729 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.5165, allocations: 0 / 0.5729 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5165, allocations: 8 kB / 0.5729 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5165, allocations: 3.938 kB / 0.5729 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.5168, allocations: 239.3 kB / 0.5731 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.5169, allocations: 96.91 kB / 0.5732 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.5169, allocations: 7.938 kB / 0.5732 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.517, allocations: 11.98 kB / 0.5732 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.5171, allocations: 11.94 kB / 0.5732 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.5171, allocations: 4 kB / 0.5732 GB, free: 6.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5172, allocations: 155.7 kB / 0.5734 GB, free: 6.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5172, allocations: 4 kB / 0.5734 GB, free: 6.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.5175, allocations: 23.94 kB / 0.5734 GB, free: 6.273 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.0008515/0.5183, allocations: 399.3 kB / 0.5738 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.5186, allocations: 107.9 kB / 0.5739 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5187, allocations: 0 / 0.5739 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.5188, allocations: 63.89 kB / 0.5739 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5191, allocations: 26.17 kB / 0.574 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.5196, allocations: 306.7 kB / 0.5743 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5199, allocations: 0.7121 MB / 0.575 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.5199, allocations: 15.44 kB / 0.575 GB, free: 4.699 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5199, allocations: 0 / 0.575 GB, free: 4.699 MB / 394.7 MB Notification: Performance of Templates: time 0.003219/0.5231, allocations: 1.829 MB / 0.5768 GB, free: 2.879 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches