Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001472, allocations: 186 kB / 16.4 MB, free: 5.746 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.045/2.045, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001126/0.001126, allocations: 93.98 kB / 270.9 MB, free: 8.379 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.5259/0.5259, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004525, allocations: 8 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.582, allocations: 86.5 MB / 0.5632 GB, free: 96 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5823, allocations: 67.97 kB / 0.5633 GB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.5986, allocations: 3.951 MB / 0.5671 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5986, allocations: 0 / 0.5671 GB, free: 12.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5987, allocations: 0 / 0.5671 GB, free: 12.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005122/0.5992, allocations: 419.5 kB / 0.5675 GB, free: 11.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5993, allocations: 12.02 kB / 0.5675 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.5993, allocations: 11.91 kB / 0.5675 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.5996, allocations: 198.3 kB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5996, allocations: 4 kB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.5997, allocations: 0 / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5999, allocations: 45.69 kB / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5999, allocations: 8 kB / 0.5678 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5999, allocations: 0 / 0.5678 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5999, allocations: 0 / 0.5678 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.6001, allocations: 32.94 kB / 0.5678 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.6006, allocations: 300.8 kB / 0.5681 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.6009, allocations: 50.56 kB / 0.5681 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.6009, allocations: 0 / 0.5681 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.6009, allocations: 38.5 kB / 0.5682 GB, free: 10.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.601, allocations: 1.125 kB / 0.5682 GB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008294/0.6018, allocations: 165.4 kB / 0.5683 GB, free: 10.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6019, allocations: 59.34 kB / 0.5684 GB, free: 10.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.6021, allocations: 181.3 kB / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6022, allocations: 33.7 kB / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.6023, allocations: 166.5 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.6023, allocations: 11.81 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.6023, allocations: 0 / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6024, allocations: 319 kB / 0.5691 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.6026, allocations: 23.97 kB / 0.5691 GB, free: 9.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.6027, allocations: 27.98 kB / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.6029, allocations: 31.98 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6029, allocations: 3.938 kB / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003129/0.6032, allocations: 81.66 kB / 0.5692 GB, free: 9.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6032, allocations: 8 kB / 0.5692 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6032, allocations: 4 kB / 0.5693 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6033, allocations: 0 / 0.5693 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.6034, allocations: 17 kB / 0.5693 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6034, allocations: 0 / 0.5693 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.6035, allocations: 11.98 kB / 0.5693 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.6036, allocations: 3.953 kB / 0.5693 GB, free: 9.695 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 (5): * Single equations (assignments): 5 * 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.0001244/0.6037, allocations: 133.8 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.6037, allocations: 7.906 kB / 0.5694 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.6041, allocations: 105.9 kB / 0.5695 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6042, allocations: 0 / 0.5695 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6042, allocations: 0.5625 kB / 0.5695 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6042, allocations: 3.984 kB / 0.5695 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.6049, allocations: 387.8 kB / 0.5699 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6049, allocations: 4 kB / 0.5699 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.605, allocations: 8 kB / 0.5699 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.605, allocations: 4 kB / 0.5699 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6051, allocations: 4 kB / 0.5699 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6051, allocations: 0 / 0.5699 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6051, allocations: 0 / 0.5699 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.6055, allocations: 204.2 kB / 0.5701 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.6056, allocations: 93 kB / 0.5702 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.6056, allocations: 8.281 kB / 0.5702 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6057, allocations: 4 kB / 0.5702 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.6058, allocations: 8.422 kB / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.6058, allocations: 0 / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.606, allocations: 155.8 kB / 0.5704 GB, free: 8.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.606, allocations: 0 / 0.5704 GB, free: 8.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.6063, allocations: 23.94 kB / 0.5704 GB, free: 8.465 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 (5): * Single equations (assignments): 5 * 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.00117/0.6075, allocations: 423.9 kB / 0.5708 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.6079, allocations: 67.89 kB / 0.5709 GB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6079, allocations: 0 / 0.5709 GB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.6081, allocations: 31.98 kB / 0.5709 GB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.6084, allocations: 11.98 kB / 0.5709 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.609, allocations: 269.1 kB / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.6093, allocations: 0.7121 MB / 0.5718 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.6094, allocations: 11.44 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6094, allocations: 0 / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of Templates: time 0.004537/0.6139, allocations: 1.585 MB / 0.5734 GB, free: 5.418 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches