Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009663, allocations: 181 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.251/1.251, 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.0008594/0.0008593, allocations: 97.56 kB / 292.2 MB, free: 10.93 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.309/0.309, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3262, allocations: 61.9 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4445, allocations: 88.06 MB / 0.5956 GB, free: 7.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4448, allocations: 75.94 kB / 0.5956 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009414/0.4542, allocations: 3.702 MB / 0.5992 GB, free: 3.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4543, allocations: 0 / 0.5992 GB, free: 3.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.4543, allocations: 0 / 0.5992 GB, free: 3.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003748/0.4547, allocations: 387 kB / 0.5996 GB, free: 2.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4547, allocations: 8.562 kB / 0.5996 GB, free: 2.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.4548, allocations: 7.906 kB / 0.5996 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.455, allocations: 186.9 kB / 0.5998 GB, free: 2.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.455, allocations: 8 kB / 0.5998 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.455, allocations: 3.938 kB / 0.5998 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4551, allocations: 53.62 kB / 0.5999 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4552, allocations: 4 kB / 0.5999 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4552, allocations: 0 / 0.5999 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4552, allocations: 0 / 0.5999 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.4553, allocations: 27.98 kB / 0.5999 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.4556, allocations: 280.8 kB / 0.6002 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.4558, allocations: 58.48 kB / 0.6002 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4559, allocations: 0 / 0.6002 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4559, allocations: 30.56 kB / 0.6003 GB, free: 2.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/0.4559, allocations: 4 kB / 0.6003 GB, free: 2.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005289/0.4564, allocations: 165.3 kB / 0.6004 GB, free: 1.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.4565, allocations: 59.33 kB / 0.6005 GB, free: 1.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4566, allocations: 123.2 kB / 0.6006 GB, free: 1.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4566, allocations: 33.7 kB / 0.6006 GB, free: 1.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.4567, allocations: 92.12 kB / 0.6007 GB, free: 1.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.4567, allocations: 19.72 kB / 0.6007 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.4567, allocations: 0 / 0.6007 GB, free: 1.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4568, allocations: 318.8 kB / 0.601 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.23e-05/0.4569, allocations: 23.98 kB / 0.6011 GB, free: 1.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.4569, allocations: 28.05 kB / 0.6011 GB, free: 1.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.457, allocations: 32.06 kB / 0.6011 GB, free: 1.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.457, allocations: 0 / 0.6011 GB, free: 1.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.4572, allocations: 93.59 kB / 0.6012 GB, free: 1.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4573, allocations: 12 kB / 0.6012 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4573, allocations: 0 / 0.6012 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.4573, allocations: 0 / 0.6012 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.4573, allocations: 15.98 kB / 0.6012 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4574, allocations: 0 / 0.6012 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.4574, allocations: 4 kB / 0.6012 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.4574, allocations: 8 kB / 0.6012 GB, free: 1.062 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 () * 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 8.094e-05/0.4575, allocations: 129.7 kB / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.4575, allocations: 7.906 kB / 0.6014 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.4578, allocations: 105.8 kB / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4578, allocations: 0 / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4578, allocations: 288 / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4578, allocations: 0 / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.4582, allocations: 370.5 kB / 0.6018 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4582, allocations: 0 / 0.6018 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.4583, allocations: 19.91 kB / 0.6018 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4583, allocations: 4 kB / 0.6018 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4583, allocations: 0 / 0.6018 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4583, allocations: 4 kB / 0.6019 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4583, allocations: 0 / 0.6019 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.4585, allocations: 191.6 kB / 0.602 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.4586, allocations: 85.11 kB / 0.6021 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4586, allocations: 7.938 kB / 0.6021 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.4587, allocations: 11.98 kB / 0.6021 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.4587, allocations: 0 / 0.6021 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4587, allocations: 4 kB / 0.6021 GB, free: 36 kB / 410.7 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.4588, allocations: 107.2 kB / 0.6022 GB, free: 15.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4588, allocations: 0 / 0.6022 GB, free: 15.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.4591, allocations: 16 kB / 0.6023 GB, free: 15.91 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.0008488/0.4599, allocations: 416.9 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.4601, allocations: 55.97 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4601, allocations: 0 / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.4602, allocations: 44.09 kB / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.4604, allocations: 23.81 kB / 0.6028 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.4608, allocations: 184.5 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.461, allocations: 0.6979 MB / 0.6036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.4611, allocations: 16.17 kB / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.4611, allocations: 11.44 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4611, allocations: 0 / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Templates: time 0.003029/0.4642, allocations: 1.036 MB / 0.6047 GB, free: 13.55 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches