Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009996/0.0009997, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.493/1.493, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.000841/0.000841, allocations: 101 kB / 271.9 MB, free: 8.246 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.3318/0.3318, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3946, allocations: 86.88 MB / 0.5648 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.3949, allocations: 79.95 kB / 0.5648 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.4052, allocations: 4.303 MB / 0.569 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4053, allocations: 0 / 0.569 GB, free: 11.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.4053, allocations: 0 / 0.569 GB, free: 11.2 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.0004066/0.4057, allocations: 422.6 kB / 0.5694 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4057, allocations: 12.03 kB / 0.5695 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4058, allocations: 8.844 kB / 0.5695 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.406, allocations: 214.6 kB / 0.5697 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.406, allocations: 4.375 kB / 0.5697 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.406, allocations: 384 / 0.5697 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4062, allocations: 62.23 kB / 0.5697 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4062, allocations: 192 / 0.5697 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4062, allocations: 3.938 kB / 0.5697 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4062, allocations: 4.656 kB / 0.5697 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.4064, allocations: 43.91 kB / 0.5698 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.4067, allocations: 300.8 kB / 0.5701 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.4068, allocations: 54.55 kB / 0.5701 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.4069, allocations: 24.94 kB / 0.5701 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.407, allocations: 4 kB / 0.5702 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.407, allocations: 34.56 kB / 0.5702 GB, free: 9.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.407, allocations: 10.66 kB / 0.5702 GB, free: 9.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007256/0.4077, allocations: 249 kB / 0.5704 GB, free: 9.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.4078, allocations: 55.34 kB / 0.5705 GB, free: 9.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.408, allocations: 205.7 kB / 0.5707 GB, free: 9.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.408, allocations: 25.7 kB / 0.5707 GB, free: 9.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.408, allocations: 104.1 kB / 0.5708 GB, free: 9.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.4081, allocations: 27.64 kB / 0.5708 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4081, allocations: 0 / 0.5708 GB, free: 9.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4082, allocations: 330.8 kB / 0.5711 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4083, allocations: 39.97 kB / 0.5712 GB, free: 8.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.4084, allocations: 36.06 kB / 0.5712 GB, free: 8.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.4086, allocations: 101 kB / 0.5713 GB, free: 8.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4086, allocations: 0 / 0.5713 GB, free: 8.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002519/0.4089, allocations: 133.4 kB / 0.5714 GB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4089, allocations: 4 kB / 0.5714 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4089, allocations: 0 / 0.5714 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4089, allocations: 4 kB / 0.5715 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4091, allocations: 24.61 kB / 0.5715 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4091, allocations: 0 / 0.5715 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.4091, allocations: 19.98 kB / 0.5715 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4092, allocations: 288 / 0.5715 GB, free: 8.469 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 8.357e-05/0.4092, allocations: 133.8 kB / 0.5716 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4093, allocations: 7.906 kB / 0.5716 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.4096, allocations: 155 kB / 0.5718 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4096, allocations: 0 / 0.5718 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4096, allocations: 4 kB / 0.5718 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4096, allocations: 4 kB / 0.5718 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.4101, allocations: 418.4 kB / 0.5722 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4102, allocations: 4 kB / 0.5722 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.4102, allocations: 36.75 kB / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4102, allocations: 0 / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4103, allocations: 0 / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4103, allocations: 0 / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4103, allocations: 7.938 kB / 0.5722 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.4106, allocations: 231.2 kB / 0.5725 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.4106, allocations: 97 kB / 0.5725 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4107, allocations: 0 / 0.5725 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.4108, allocations: 15.98 kB / 0.5726 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4108, allocations: 11.88 kB / 0.5726 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4108, allocations: 4 kB / 0.5726 GB, free: 7.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.411, allocations: 164.8 kB / 0.5727 GB, free: 7.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.411, allocations: 0 / 0.5727 GB, free: 7.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.4112, allocations: 27.94 kB / 0.5728 GB, free: 7.07 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.0007711/0.412, allocations: 401.3 kB / 0.5731 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.4123, allocations: 91.94 kB / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4123, allocations: 0 / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.4124, allocations: 60.05 kB / 0.5733 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4127, allocations: 15.92 kB / 0.5733 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.4131, allocations: 309.2 kB / 0.5736 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.4134, allocations: 0.7043 MB / 0.5743 GB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.4134, allocations: 19.42 kB / 0.5743 GB, free: 5.527 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4134, allocations: 0 / 0.5743 GB, free: 5.527 MB / 394.7 MB Notification: Performance of Templates: time 0.002895/0.4163, allocations: 1.726 MB / 0.576 GB, free: 3.809 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches