Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 178.7 kB / 14.15 MB, free: 1.168 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.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008296/0.0008297, allocations: 99.59 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1812/0.1812, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.443e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4527, allocations: 88.09 MB / 0.5877 GB, free: 1.207 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.4529, allocations: 71.97 kB / 0.5878 GB, free: 1.137 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.4646, allocations: 4.673 MB / 0.5924 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4646, allocations: 0 / 0.5924 GB, free: 12.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4647, allocations: 4 kB / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003686/0.465, allocations: 406.1 kB / 0.5928 GB, free: 12.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4651, allocations: 12.03 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.4651, allocations: 15.81 kB / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.4654, allocations: 207.4 kB / 0.593 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4655, allocations: 0 / 0.593 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.4655, allocations: 11.91 kB / 0.593 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4656, allocations: 65.62 kB / 0.5931 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4657, allocations: 0 / 0.5931 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4657, allocations: 4 kB / 0.5931 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4657, allocations: 4 kB / 0.5931 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.4658, allocations: 23.94 kB / 0.5931 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.4662, allocations: 344.6 kB / 0.5934 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.4663, allocations: 58.52 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.4664, allocations: 16.86 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4664, allocations: 3.984 kB / 0.5935 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4665, allocations: 38.56 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4665, allocations: 0 / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006349/0.4671, allocations: 214.2 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4672, allocations: 51.41 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.4674, allocations: 218.3 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4674, allocations: 29.7 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.4675, allocations: 108 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.4676, allocations: 43.39 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.4676, allocations: 8 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4677, allocations: 322.8 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.4678, allocations: 28 kB / 0.5945 GB, free: 10.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.4678, allocations: 29.44 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.4679, allocations: 35.98 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4679, allocations: 0 / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001529/0.468, allocations: 117.1 kB / 0.5947 GB, free: 9.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4681, allocations: 5.406 kB / 0.5947 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4681, allocations: 4 kB / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.4681, allocations: 0 / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4682, allocations: 27.98 kB / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4682, allocations: 3.938 kB / 0.5947 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.4683, allocations: 15.98 kB / 0.5947 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4683, allocations: 3.953 kB / 0.5947 GB, free: 9.84 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.896e-05/0.4684, allocations: 113 kB / 0.5948 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.4684, allocations: 19.81 kB / 0.5949 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.4687, allocations: 143.8 kB / 0.595 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4687, allocations: 3.938 kB / 0.595 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4687, allocations: 4 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4687, allocations: 0 / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.4692, allocations: 481.6 kB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4693, allocations: 4 kB / 0.5955 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.4694, allocations: 23.98 kB / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.4694, allocations: 4 kB / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4694, allocations: 11.94 kB / 0.5955 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4694, allocations: 0 / 0.5955 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4694, allocations: 4 kB / 0.5955 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.4696, allocations: 229.9 kB / 0.5957 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.4697, allocations: 92.92 kB / 0.5958 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4697, allocations: 7.953 kB / 0.5958 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.4698, allocations: 15.92 kB / 0.5958 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.4699, allocations: 11.98 kB / 0.5958 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4699, allocations: 4 kB / 0.5959 GB, free: 8.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.47, allocations: 160.2 kB / 0.596 GB, free: 8.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.47, allocations: 8 kB / 0.596 GB, free: 8.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.4703, allocations: 43.92 kB / 0.5961 GB, free: 8.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008831/0.4712, allocations: 412.3 kB / 0.5964 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.4713, allocations: 75.94 kB / 0.5965 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4713, allocations: 0 / 0.5965 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.4714, allocations: 43.94 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.4716, allocations: 17.7 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.472, allocations: 230.7 kB / 0.5968 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.4723, allocations: 0.7238 MB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.4723, allocations: 24.53 kB / 0.5975 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.4724, allocations: 19.44 kB / 0.5975 GB, free: 6.895 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4724, allocations: 0 / 0.5975 GB, free: 6.895 MB / 410.7 MB Notification: Performance of Templates: time 0.003911/0.4763, allocations: 1.55 MB / 0.5991 GB, free: 5.348 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches