Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.262/1.262, allocations: 223.2 MB / 241 MB, free: 11.88 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.0007493/0.0007493, allocations: 93.97 kB / 292.1 MB, free: 10.94 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.305/0.305, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 12 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3547, allocations: 61.89 MB / 0.5095 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4635, allocations: 88.06 MB / 0.5955 GB, free: 7.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4637, allocations: 79.94 kB / 0.5956 GB, free: 7.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.4739, allocations: 4.506 MB / 0.6 GB, free: 2.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.474, allocations: 0 / 0.6 GB, free: 2.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.474, allocations: 8 kB / 0.6 GB, free: 2.512 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003413/0.4743, allocations: 426.7 kB / 0.6004 GB, free: 2.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4744, allocations: 8.562 kB / 0.6004 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4744, allocations: 15.81 kB / 0.6005 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4746, allocations: 214.8 kB / 0.6007 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.4747, allocations: 3.953 kB / 0.6007 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.4747, allocations: 3.906 kB / 0.6007 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.4748, allocations: 61.67 kB / 0.6007 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4748, allocations: 0 / 0.6007 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.4748, allocations: 3.938 kB / 0.6007 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4748, allocations: 4 kB / 0.6007 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.4749, allocations: 27.97 kB / 0.6008 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.4752, allocations: 304.8 kB / 0.6011 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.4753, allocations: 54.5 kB / 0.6011 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4753, allocations: 0 / 0.6011 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.4754, allocations: 30.56 kB / 0.6011 GB, free: 1.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.4754, allocations: 0 / 0.6011 GB, free: 1.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007286/0.4761, allocations: 264.9 kB / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.4761, allocations: 51.41 kB / 0.6014 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.4764, allocations: 246.2 kB / 0.6017 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.4764, allocations: 25.7 kB / 0.6017 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.4764, allocations: 112.1 kB / 0.6018 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.4765, allocations: 27.55 kB / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4765, allocations: 0 / 0.6018 GB, free: 484 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.4766, allocations: 338.8 kB / 0.6022 GB, free: 136 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.4766, allocations: 23.98 kB / 0.6022 GB, free: 112 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.4767, allocations: 27.98 kB / 0.6022 GB, free: 84 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/0.4768, allocations: 36.06 kB / 0.6022 GB, free: 48 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4768, allocations: 0 / 0.6022 GB, free: 48 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002043/0.477, allocations: 113.9 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.477, allocations: 5.562 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.477, allocations: 80 / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.477, allocations: 0 / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.4771, allocations: 23.98 kB / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4771, allocations: 3.984 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.4772, allocations: 12 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4772, allocations: 3.938 kB / 0.6024 GB, free: 15.88 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 (8): * Single equations (assignments): 8 * 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 8.167e-05/0.4773, allocations: 137.6 kB / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.4773, allocations: 15.81 kB / 0.6025 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.4776, allocations: 127 kB / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4776, allocations: 0 / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4776, allocations: 4.422 kB / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.4776, allocations: 0 / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.4781, allocations: 451.1 kB / 0.6031 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4781, allocations: 0 / 0.6031 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.4782, allocations: 23.98 kB / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4782, allocations: 0 / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4782, allocations: 7.984 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4782, allocations: 0 / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4782, allocations: 7.891 kB / 0.6031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.4785, allocations: 229.9 kB / 0.6034 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.4785, allocations: 101 kB / 0.6034 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4786, allocations: 4 kB / 0.6035 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.4787, allocations: 15.94 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.4787, allocations: 4 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4787, allocations: 4 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4788, allocations: 197 kB / 0.6037 GB, free: 14.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4789, allocations: 0 / 0.6037 GB, free: 14.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.4791, allocations: 31.94 kB / 0.6037 GB, free: 14.43 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008549/0.4799, allocations: 471.4 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.4801, allocations: 79.92 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4802, allocations: 0 / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.4802, allocations: 39.92 kB / 0.6043 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4804, allocations: 16.17 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.4809, allocations: 326.9 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.4811, allocations: 0.7199 MB / 0.6053 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.89e-05/0.4811, allocations: 16.67 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.4812, allocations: 15.44 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.4812, allocations: 3.938 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of Templates: time 0.003116/0.4843, allocations: 1.463 MB / 0.6067 GB, free: 11.43 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches