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.0008383/0.0008379, allocations: 180.1 kB / 18.09 MB, free: 3.746 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.158/1.158, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0007525/0.0007524, allocations: 99.38 kB / 293.3 MB, free: 10.75 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.2684/0.2684, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2601, allocations: 61.89 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09139/0.3516, allocations: 88.18 MB / 0.5968 GB, free: 6.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.3518, allocations: 75.95 kB / 0.5969 GB, free: 6.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.3626, allocations: 4.667 MB / 0.6015 GB, free: 2.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3626, allocations: 4 kB / 0.6015 GB, free: 2.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3627, allocations: 8 kB / 0.6015 GB, free: 2.105 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.0003615/0.363, allocations: 422.9 kB / 0.6019 GB, free: 1.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3631, allocations: 8.031 kB / 0.6019 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3631, allocations: 20.69 kB / 0.6019 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3633, allocations: 218.2 kB / 0.6021 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3633, allocations: 4.375 kB / 0.6021 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3634, allocations: 12.31 kB / 0.6021 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3635, allocations: 66.23 kB / 0.6022 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3635, allocations: 192 / 0.6022 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3635, allocations: 7.938 kB / 0.6022 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3636, allocations: 4 kB / 0.6022 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3637, allocations: 47.84 kB / 0.6023 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.364, allocations: 340.6 kB / 0.6026 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3642, allocations: 62.5 kB / 0.6026 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.3642, allocations: 32.84 kB / 0.6027 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3642, allocations: 0 / 0.6027 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3643, allocations: 38.55 kB / 0.6027 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.3643, allocations: 0 / 0.6027 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008683/0.3651, allocations: 325.5 kB / 0.603 GB, free: 368 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3652, allocations: 59.39 kB / 0.6031 GB, free: 296 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3654, allocations: 230.3 kB / 0.6033 GB, free: 52 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3654, allocations: 25.7 kB / 0.6033 GB, free: 20 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3655, allocations: 112 kB / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3655, allocations: 47.3 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.3656, allocations: 0 / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.3656, allocations: 322.8 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.3657, allocations: 43.92 kB / 0.6038 GB, free: 15.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.3658, allocations: 43.97 kB / 0.6039 GB, free: 15.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.366, allocations: 99.83 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.366, allocations: 0 / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002231/0.3662, allocations: 141.6 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3663, allocations: 4.109 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3663, allocations: 3.938 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3663, allocations: 4 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3664, allocations: 27.92 kB / 0.6041 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3664, allocations: 3.938 kB / 0.6041 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3665, allocations: 15.98 kB / 0.6042 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3665, allocations: 4 kB / 0.6042 GB, free: 15.14 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 (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 8.194e-05/0.3666, allocations: 133.8 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.3666, allocations: 15.81 kB / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.3669, allocations: 175.3 kB / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3669, allocations: 0 / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3669, allocations: 7.938 kB / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3669, allocations: 0 / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.3675, allocations: 499.1 kB / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3675, allocations: 0 / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.3676, allocations: 31.97 kB / 0.605 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3676, allocations: 4 kB / 0.605 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.3676, allocations: 7.875 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3676, allocations: 3.938 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3676, allocations: 4 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3679, allocations: 245.5 kB / 0.6052 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.3679, allocations: 96.91 kB / 0.6053 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.368, allocations: 8 kB / 0.6053 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.368, allocations: 8 kB / 0.6053 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3681, allocations: 11.98 kB / 0.6054 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3681, allocations: 4 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3682, allocations: 167.2 kB / 0.6055 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3682, allocations: 0 / 0.6055 GB, free: 13.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000234/0.3685, allocations: 47.92 kB / 0.6056 GB, free: 13.59 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 (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.0008205/0.3693, allocations: 453.6 kB / 0.606 GB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3695, allocations: 100.7 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3695, allocations: 4 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.3696, allocations: 55.92 kB / 0.6062 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3699, allocations: 24.42 kB / 0.6062 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.3704, allocations: 342.9 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.3706, allocations: 0.7193 MB / 0.6072 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.3707, allocations: 36.52 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.3707, allocations: 15.44 kB / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3707, allocations: 0 / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of Templates: time 0.0033/0.374, allocations: 1.553 MB / 0.6088 GB, free: 10.44 MB / 426.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/jenkins1/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