Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009581/0.000958, allocations: 177 kB / 17.06 MB, free: 5.094 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.229/1.229, 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.0009223/0.0009222, allocations: 96 kB / 292.2 MB, free: 10.92 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.2989/0.2989, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3441, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4607, allocations: 88.05 MB / 0.5955 GB, free: 7.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.461, allocations: 83.92 kB / 0.5956 GB, free: 7.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.4718, allocations: 4.5 MB / 0.6 GB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4718, allocations: 4 kB / 0.6 GB, free: 2.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.4719, allocations: 11.94 kB / 0.6 GB, free: 2.488 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.000464/0.4723, allocations: 426.7 kB / 0.6004 GB, free: 2.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4724, allocations: 8.562 kB / 0.6004 GB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.4724, allocations: 11.81 kB / 0.6005 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.4727, allocations: 214.8 kB / 0.6007 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4727, allocations: 7.953 kB / 0.6007 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.4728, allocations: 7.906 kB / 0.6007 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4729, allocations: 53.69 kB / 0.6007 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4729, allocations: 7.938 kB / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4729, allocations: 0 / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.473, allocations: 0 / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.4731, allocations: 35.95 kB / 0.6008 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4735, allocations: 304.8 kB / 0.6011 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.303e-05/0.4736, allocations: 50.48 kB / 0.6011 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4736, allocations: 0 / 0.6011 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.4736, allocations: 34.56 kB / 0.6011 GB, free: 1.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.4736, allocations: 0 / 0.6011 GB, free: 1.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008072/0.4744, allocations: 265.3 kB / 0.6014 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4745, allocations: 55.41 kB / 0.6014 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.4747, allocations: 238.2 kB / 0.6017 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4748, allocations: 33.62 kB / 0.6017 GB, free: 0.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.4748, allocations: 112.1 kB / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4749, allocations: 35.62 kB / 0.6018 GB, free: 444 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.4749, allocations: 0 / 0.6018 GB, free: 444 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.475, allocations: 330.8 kB / 0.6022 GB, free: 104 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.4751, allocations: 23.98 kB / 0.6022 GB, free: 80 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.4752, allocations: 35.97 kB / 0.6022 GB, free: 44 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.4752, allocations: 28 kB / 0.6022 GB, free: 16 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4752, allocations: 3.984 kB / 0.6022 GB, free: 12 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002166/0.4755, allocations: 105.5 kB / 0.6023 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4755, allocations: 5.562 kB / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4755, allocations: 0 / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4755, allocations: 4 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4756, allocations: 23.98 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4756, allocations: 0 / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.4757, allocations: 8 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.4757, allocations: 11.92 kB / 0.6024 GB, free: 15.85 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 0.0001026/0.4758, allocations: 133.8 kB / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.4759, allocations: 19.75 kB / 0.6025 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4761, allocations: 123.1 kB / 0.6027 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4761, allocations: 3.984 kB / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4761, allocations: 0 / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4761, allocations: 0 / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.4767, allocations: 451.1 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4767, allocations: 4 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.4767, allocations: 15.98 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4768, allocations: 4 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4768, allocations: 0 / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4768, allocations: 7.969 kB / 0.6031 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4768, allocations: 4.422 kB / 0.6031 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.477, allocations: 237.9 kB / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.4771, allocations: 93.02 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.4771, allocations: 4 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.4772, allocations: 15.94 kB / 0.6035 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.4773, allocations: 4 kB / 0.6035 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.4773, allocations: 11.98 kB / 0.6035 GB, free: 14.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.4774, allocations: 189 kB / 0.6037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4774, allocations: 0 / 0.6037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.4777, allocations: 35.92 kB / 0.6037 GB, free: 14.41 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.0009196/0.4786, allocations: 475.2 kB / 0.6041 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4788, allocations: 67.97 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4788, allocations: 4 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.4789, allocations: 39.92 kB / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.4791, allocations: 17.72 kB / 0.6043 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.4796, allocations: 330.8 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4799, allocations: 0.7199 MB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.48, allocations: 24.95 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.48, allocations: 11.44 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.48, allocations: 3.938 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of Templates: time 0.003622/0.4836, allocations: 1.464 MB / 0.6068 GB, free: 11.39 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches