Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002339, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001124/0.001124, allocations: 89.73 kB / 270.9 MB, free: 8.395 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.5532/0.5532, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004825, allocations: 15.98 kB / 431.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.84 MB / 490.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5844, allocations: 86.22 MB / 0.5629 GB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5848, allocations: 75.97 kB / 0.563 GB, free: 480 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.5961, allocations: 3.16 MB / 0.5661 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.5961, allocations: 0 / 0.5661 GB, free: 13.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.5961, allocations: 6.953 kB / 0.5661 GB, free: 13.31 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004207/0.5966, allocations: 366.3 kB / 0.5664 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5966, allocations: 8.031 kB / 0.5664 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.5967, allocations: 11.84 kB / 0.5665 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.5968, allocations: 171.6 kB / 0.5666 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5969, allocations: 8 kB / 0.5666 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.5969, allocations: 4 kB / 0.5666 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.5972, allocations: 188.3 kB / 0.5668 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5972, allocations: 0 / 0.5668 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.5973, allocations: 4 kB / 0.5668 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.5973, allocations: 8.344 kB / 0.5668 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.5975, allocations: 63.67 kB / 0.5669 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.5987, allocations: 1.702 MB / 0.5685 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5988, allocations: 177.1 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.5989, allocations: 78.45 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.5989, allocations: 105.8 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.746e-06/0.5989, allocations: 0 / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.769e-05/0.599, allocations: 33.61 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.5991, allocations: 130.6 kB / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.5994, allocations: 180.3 kB / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5994, allocations: 25.7 kB / 0.5692 GB, free: 9.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5996, allocations: 213.6 kB / 0.5694 GB, free: 9.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.5996, allocations: 3.984 kB / 0.5695 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.5996, allocations: 4 kB / 0.5695 GB, free: 9.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5997, allocations: 318.8 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.5998, allocations: 31.97 kB / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.6, allocations: 150 kB / 0.5699 GB, free: 9.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.6002, allocations: 71.95 kB / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6002, allocations: 0.9375 kB / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004727/0.6007, allocations: 201.3 kB / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6007, allocations: 7.953 kB / 0.5702 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6008, allocations: 8 kB / 0.5702 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6008, allocations: 4 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.601, allocations: 39.92 kB / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.601, allocations: 7.938 kB / 0.5703 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.6012, allocations: 24.19 kB / 0.5703 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.6012, allocations: 12 kB / 0.5703 GB, free: 8.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001654/0.6014, allocations: 221 kB / 0.5705 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.6015, allocations: 116.8 kB / 0.5706 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.6016, allocations: 120.8 kB / 0.5707 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.522e-05/0.6016, allocations: 180.2 kB / 0.5709 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-05/0.6017, allocations: 180.3 kB / 0.5711 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-05/0.6018, allocations: 188.2 kB / 0.5713 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.6021, allocations: 423 kB / 0.5717 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.6022, allocations: 101 kB / 0.5718 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.6022, allocations: 115 kB / 0.5719 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.553e-05/0.6023, allocations: 180.3 kB / 0.572 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.6024, allocations: 184.2 kB / 0.5722 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.426e-05/0.6025, allocations: 180.2 kB / 0.5724 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.131e-05/0.6026, allocations: 180.2 kB / 0.5726 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.6028, allocations: 311.7 kB / 0.5729 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6029, allocations: 193.9 kB / 0.573 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/0.603, allocations: 180.3 kB / 0.5732 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6031, allocations: 108.9 kB / 0.5733 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.6032, allocations: 184.2 kB / 0.5735 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.6033, allocations: 105 kB / 0.5736 GB, free: 5.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.6034, allocations: 129 kB / 0.5737 GB, free: 4.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6034, allocations: 0 / 0.5737 GB, free: 4.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.6038, allocations: 20 kB / 0.5737 GB, free: 4.902 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 (0): * Single equations (assignments): 0 * 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.0006321/0.6045, allocations: 286.1 kB / 0.574 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.6047, allocations: 72.91 kB / 0.5741 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6047, allocations: 4.125 kB / 0.5741 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.6047, allocations: 0 / 0.5741 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.6051, allocations: 0.5224 MB / 0.5746 GB, free: 4.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.6056, allocations: 314.9 kB / 0.5749 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.606, allocations: 0.7047 MB / 0.5756 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.6061, allocations: 15.44 kB / 0.5756 GB, free: 2.996 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6061, allocations: 0 / 0.5756 GB, free: 2.996 MB / 394.7 MB Notification: Performance of Templates: time 0.003912/0.61, allocations: 1.301 MB / 0.5769 GB, free: 1.699 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches