Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002206/0.002205, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001179/0.001179, allocations: 92.03 kB / 262.1 MB, free: 13.88 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.2932/0.2932, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.252e-05, allocations: 8.203 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3959, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5597, allocations: 87.99 MB / 0.5518 GB, free: 11.32 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5601, allocations: 75.91 kB / 0.5519 GB, free: 11.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03778/0.5979, allocations: 8.813 MB / 0.5605 GB, free: 2.426 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.571e-06/0.5979, allocations: 4 kB / 0.5605 GB, free: 2.422 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.897e-05/0.598, allocations: 15.88 kB / 0.5605 GB, free: 2.406 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008544/0.5989, allocations: 0.5485 MB / 0.5611 GB, free: 1.812 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5989, allocations: 12.03 kB / 0.5611 GB, free: 1.801 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.5991, allocations: 39.48 kB / 0.5611 GB, free: 1.762 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.5998, allocations: 343.3 kB / 0.5614 GB, free: 1.387 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5999, allocations: 4 kB / 0.5614 GB, free: 1.383 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.5999, allocations: 15.91 kB / 0.5615 GB, free: 1.367 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001937/0.6001, allocations: 48 kB / 0.5615 GB, free: 1.32 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.6004, allocations: 88.5 kB / 0.5616 GB, free: 1.23 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.6004, allocations: 0 / 0.5616 GB, free: 1.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6004, allocations: 0 / 0.5616 GB, free: 1.23 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6004, allocations: 7.953 kB / 0.5616 GB, free: 1.223 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.6014, allocations: 476.9 kB / 0.562 GB, free: 0.7188 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.6017, allocations: 82.44 kB / 0.5621 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.6017, allocations: 25.08 kB / 0.5622 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.6018, allocations: 7.922 kB / 0.5622 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6018, allocations: 42.56 kB / 0.5622 GB, free: 0.543 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 2.235e-06/0.6018, allocations: 0 / 0.5622 GB, free: 0.543 MB / 395.1 MB Notification: Performance of matching and sorting (n=17): time 0.001056/0.6029, allocations: 307.1 kB / 0.5625 GB, free: 244 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.603, allocations: 55.41 kB / 0.5625 GB, free: 176 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009037/0.6039, allocations: 473.2 kB / 0.563 GB, free: 15.71 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.6039, allocations: 25.7 kB / 0.563 GB, free: 15.68 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.6041, allocations: 234.8 kB / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.6042, allocations: 59.19 kB / 0.5633 GB, free: 15.39 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.6042, allocations: 0 / 0.5633 GB, free: 15.39 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6044, allocations: 322.8 kB / 0.5636 GB, free: 15.06 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.6045, allocations: 36 kB / 0.5636 GB, free: 15.03 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.6046, allocations: 36 kB / 0.5637 GB, free: 14.99 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.6048, allocations: 51.81 kB / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6048, allocations: 0 / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003406/0.6051, allocations: 129.6 kB / 0.5639 GB, free: 14.81 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.6052, allocations: 7.938 kB / 0.5639 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6052, allocations: 0 / 0.5639 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6052, allocations: 0 / 0.5639 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.6055, allocations: 43.98 kB / 0.5639 GB, free: 14.76 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6055, allocations: 0 / 0.5639 GB, free: 14.76 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.6057, allocations: 11.98 kB / 0.5639 GB, free: 14.75 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.6058, allocations: 4 kB / 0.5639 GB, free: 14.74 MB / 411.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 (17): * Single equations (assignments): 17 * 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.399e-05/0.6059, allocations: 108.9 kB / 0.564 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.606, allocations: 39.53 kB / 0.5641 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.6066, allocations: 206.4 kB / 0.5643 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6066, allocations: 0 / 0.5643 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6066, allocations: 4 kB / 0.5643 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.6066, allocations: 3.984 kB / 0.5643 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.6079, allocations: 0.6249 MB / 0.5649 GB, free: 13.7 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6079, allocations: 0 / 0.5649 GB, free: 13.7 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.6082, allocations: 39.92 kB / 0.5649 GB, free: 13.66 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.6082, allocations: 0 / 0.5649 GB, free: 13.66 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6082, allocations: 0 / 0.5649 GB, free: 13.66 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.6082, allocations: 4 kB / 0.5649 GB, free: 13.66 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6083, allocations: 0 / 0.5649 GB, free: 13.66 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.6088, allocations: 274.3 kB / 0.5652 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.609, allocations: 140.6 kB / 0.5653 GB, free: 13.22 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.6091, allocations: 3.938 kB / 0.5653 GB, free: 13.22 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6093, allocations: 12 kB / 0.5653 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.6094, allocations: 19.92 kB / 0.5653 GB, free: 13.19 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.6094, allocations: 4 kB / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0006925/0.6101, allocations: 374.9 kB / 0.5657 GB, free: 12.82 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6101, allocations: 0 / 0.5657 GB, free: 12.82 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.6106, allocations: 71.88 kB / 0.5658 GB, free: 12.75 MB / 411.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 (17): * Single equations (assignments): 17 * 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.001737/0.6124, allocations: 0.5725 MB / 0.5663 GB, free: 12.23 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.6127, allocations: 99.94 kB / 0.5664 GB, free: 12.13 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6128, allocations: 8 kB / 0.5664 GB, free: 12.12 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.6129, allocations: 63.92 kB / 0.5665 GB, free: 12.06 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.6136, allocations: 57.69 kB / 0.5666 GB, free: 12 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.615, allocations: 0.5444 MB / 0.5671 GB, free: 11.43 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.6155, allocations: 0.814 MB / 0.5679 GB, free: 10.59 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.6157, allocations: 39.42 kB / 0.5679 GB, free: 10.55 MB / 411.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6157, allocations: 0 / 0.5679 GB, free: 10.55 MB / 411.1 MB Notification: Performance of Templates: time 0.01181/0.6275, allocations: 4.657 MB / 0.5725 GB, free: 5.891 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches