Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001479, allocations: 181.5 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 82.55 kB / 262.1 MB, free: 13.85 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2938/0.2938, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.925e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4134, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.5811, allocations: 86.34 MB / 0.5502 GB, free: 12.97 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5815, allocations: 71.97 kB / 0.5503 GB, free: 12.9 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01804/0.5995, allocations: 4.172 MB / 0.5544 GB, free: 8.723 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5996, allocations: 0 / 0.5544 GB, free: 8.723 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.5996, allocations: 0 / 0.5544 GB, free: 8.723 MB / 395.1 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.0005216/0.6001, allocations: 385.2 kB / 0.5547 GB, free: 8.305 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.6002, allocations: 8.031 kB / 0.5547 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.6002, allocations: 7.953 kB / 0.5547 GB, free: 8.289 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.6006, allocations: 186.9 kB / 0.5549 GB, free: 8.066 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6006, allocations: 8 kB / 0.5549 GB, free: 8.059 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.6006, allocations: 0 / 0.5549 GB, free: 8.059 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001267/0.6008, allocations: 16 kB / 0.5549 GB, free: 8.043 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.6009, allocations: 63.33 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6009, allocations: 0 / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.601, allocations: 4 kB / 0.555 GB, free: 7.965 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.601, allocations: 0 / 0.555 GB, free: 7.965 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.6014, allocations: 265.3 kB / 0.5553 GB, free: 7.668 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.6016, allocations: 38.52 kB / 0.5553 GB, free: 7.621 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.6016, allocations: 12.86 kB / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.6017, allocations: 0 / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6017, allocations: 38.5 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.664e-06/0.6017, allocations: 0 / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.000658/0.6024, allocations: 129.4 kB / 0.5555 GB, free: 7.426 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.6025, allocations: 81.11 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6026, allocations: 129.1 kB / 0.5557 GB, free: 7.191 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.6027, allocations: 25.7 kB / 0.5557 GB, free: 7.16 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.6028, allocations: 162.6 kB / 0.5558 GB, free: 7 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.6028, allocations: 16.25 kB / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.6028, allocations: 4 kB / 0.5559 GB, free: 6.98 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.603, allocations: 318.8 kB / 0.5562 GB, free: 6.66 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.603, allocations: 8.25 kB / 0.5562 GB, free: 6.652 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.6031, allocations: 33.78 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.6032, allocations: 20.16 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6032, allocations: 0 / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001813/0.6034, allocations: 69.58 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6034, allocations: 4 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6034, allocations: 4.031 kB / 0.5563 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6035, allocations: 0 / 0.5563 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6037, allocations: 35.88 kB / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6037, allocations: 0 / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.6039, allocations: 19.92 kB / 0.5564 GB, free: 6.457 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6039, allocations: 0 / 0.5564 GB, free: 6.457 MB / 395.1 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 9.229e-05/0.604, allocations: 105 kB / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.6041, allocations: 7.906 kB / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.6043, allocations: 82.3 kB / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6043, allocations: 0 / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6044, allocations: 3.953 kB / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6044, allocations: 0 / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.6049, allocations: 323.1 kB / 0.5569 GB, free: 5.891 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.605, allocations: 4 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.6052, allocations: 27.98 kB / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6052, allocations: 0 / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6052, allocations: 3.984 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6052, allocations: 7.953 kB / 0.5569 GB, free: 5.848 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6052, allocations: 0 / 0.5569 GB, free: 5.848 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.6055, allocations: 175.5 kB / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.6056, allocations: 89 kB / 0.5571 GB, free: 5.555 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.6056, allocations: 7.984 kB / 0.5572 GB, free: 5.547 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.6058, allocations: 8 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.6059, allocations: 15.88 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6059, allocations: 0 / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.606, allocations: 107.3 kB / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.606, allocations: 0 / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.6064, allocations: 31.94 kB / 0.5573 GB, free: 5.387 MB / 395.1 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.001135/0.6076, allocations: 385.5 kB / 0.5577 GB, free: 5.055 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.6078, allocations: 47.92 kB / 0.5577 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6079, allocations: 0 / 0.5577 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.6079, allocations: 20 kB / 0.5577 GB, free: 4.988 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.6083, allocations: 23.84 kB / 0.5578 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.6088, allocations: 138.1 kB / 0.5579 GB, free: 4.801 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.6092, allocations: 0.7001 MB / 0.5586 GB, free: 4.074 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.6093, allocations: 19.44 kB / 0.5586 GB, free: 4.055 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6093, allocations: 3.938 kB / 0.5586 GB, free: 4.051 MB / 395.1 MB Notification: Performance of Templates: time 0.005543/0.6148, allocations: 1.754 MB / 0.5603 GB, free: 2.297 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches