Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008499/0.00085, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007814, allocations: 103.2 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2756/0.2756, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 15.98 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 61.88 MB / 0.5107 GB, free: 38.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.3776, allocations: 88.97 MB / 0.5976 GB, free: 6.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3779, allocations: 79.95 kB / 0.5977 GB, free: 6.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.3946, allocations: 7.939 MB / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3946, allocations: 0 / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.3947, allocations: 4 kB / 0.6054 GB, free: 14.05 MB / 426.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.0006834/0.3954, allocations: 0.6298 MB / 0.6061 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3954, allocations: 8.031 kB / 0.6061 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.3955, allocations: 44.38 kB / 0.6061 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.3959, allocations: 352.1 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.396, allocations: 384 / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.396, allocations: 8.375 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3961, allocations: 54.23 kB / 0.6065 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3962, allocations: 4.188 kB / 0.6065 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3962, allocations: 11.88 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3962, allocations: 0 / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3963, allocations: 31.92 kB / 0.6066 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.3969, allocations: 452.6 kB / 0.607 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3971, allocations: 50.5 kB / 0.607 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.3972, allocations: 20.94 kB / 0.6071 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3972, allocations: 11.94 kB / 0.6071 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3972, allocations: 30.56 kB / 0.6071 GB, free: 12.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.3972, allocations: 0 / 0.6071 GB, free: 12.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006555/0.3979, allocations: 255.9 kB / 0.6073 GB, free: 11.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.398, allocations: 51.41 kB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.3994, allocations: 0.8496 MB / 0.6082 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3994, allocations: 25.7 kB / 0.6082 GB, free: 10.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3996, allocations: 220.1 kB / 0.6085 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.3996, allocations: 19.75 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.3996, allocations: 0 / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3998, allocations: 366.7 kB / 0.6088 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.3999, allocations: 27.97 kB / 0.6088 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.4, allocations: 28.05 kB / 0.6089 GB, free: 10.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.4002, allocations: 60.83 kB / 0.6089 GB, free: 10.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.4002, allocations: 4 kB / 0.6089 GB, free: 10.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002558/0.4005, allocations: 129 kB / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4005, allocations: 7.984 kB / 0.6091 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4005, allocations: 3.984 kB / 0.6091 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4005, allocations: 4 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4007, allocations: 12 kB / 0.6091 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4007, allocations: 0 / 0.6091 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.4008, allocations: 11.98 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4008, allocations: 0 / 0.6091 GB, free: 10.09 MB / 426.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.0001851/0.401, allocations: 218.2 kB / 0.6093 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.401, allocations: 43.44 kB / 0.6093 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.4014, allocations: 153.3 kB / 0.6095 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4014, allocations: 0 / 0.6095 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4014, allocations: 4 kB / 0.6095 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4014, allocations: 3.984 kB / 0.6095 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.4021, allocations: 0.5998 MB / 0.6101 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4022, allocations: 3.984 kB / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.4022, allocations: 12 kB / 0.6101 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4022, allocations: 0 / 0.6101 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4022, allocations: 0 / 0.6101 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4022, allocations: 4.25 kB / 0.6101 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4023, allocations: 11.94 kB / 0.6101 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.4025, allocations: 223 kB / 0.6103 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.4027, allocations: 164.5 kB / 0.6105 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.4027, allocations: 4 kB / 0.6105 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.4028, allocations: 11.98 kB / 0.6105 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.4029, allocations: 11.88 kB / 0.6105 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.4029, allocations: 0 / 0.6105 GB, free: 8.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006075/0.4035, allocations: 0.6472 MB / 0.6111 GB, free: 7.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4035, allocations: 0 / 0.6111 GB, free: 7.883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.4038, allocations: 52 kB / 0.6112 GB, free: 7.832 MB / 426.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.0008029/0.4046, allocations: 407.1 kB / 0.6116 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.4048, allocations: 71.91 kB / 0.6117 GB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4048, allocations: 3.938 kB / 0.6117 GB, free: 7.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.4049, allocations: 31.97 kB / 0.6117 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4052, allocations: 26.31 kB / 0.6117 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.4064, allocations: 0.9231 MB / 0.6126 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.4069, allocations: 0.8185 MB / 0.6134 GB, free: 5.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.845e-05/0.407, allocations: 47.83 kB / 0.6135 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.407, allocations: 27.42 kB / 0.6135 GB, free: 5.594 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4071, allocations: 0 / 0.6135 GB, free: 5.594 MB / 426.7 MB Notification: Performance of Templates: time 0.005749/0.4128, allocations: 2.444 MB / 0.6159 GB, free: 3.148 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches