Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.000947, 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.292/1.292, allocations: 223.2 MB / 241 MB, free: 10.09 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.0008757/0.0008757, allocations: 93.47 kB / 292.2 MB, free: 10.66 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.2956/0.2956, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003337, allocations: 8 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.4509, allocations: 88.07 MB / 0.5956 GB, free: 7.035 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4512, allocations: 71.94 kB / 0.5956 GB, free: 6.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009605/0.4609, allocations: 3.692 MB / 0.5992 GB, free: 3.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4609, allocations: 0 / 0.5992 GB, free: 3.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4609, allocations: 0 / 0.5992 GB, free: 3.277 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.0003955/0.4613, allocations: 387 kB / 0.5996 GB, free: 2.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4614, allocations: 12.56 kB / 0.5996 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.4614, allocations: 7.906 kB / 0.5996 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4616, allocations: 187.8 kB / 0.5998 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.4616, allocations: 0 / 0.5998 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.4617, allocations: 7.938 kB / 0.5998 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4618, allocations: 53.62 kB / 0.5999 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4618, allocations: 3.938 kB / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4618, allocations: 0 / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4619, allocations: 0 / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.462, allocations: 31.98 kB / 0.5999 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.4624, allocations: 280.8 kB / 0.6002 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4626, allocations: 62.42 kB / 0.6002 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4626, allocations: 0 / 0.6002 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4626, allocations: 30.56 kB / 0.6002 GB, free: 2.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.4626, allocations: 0 / 0.6002 GB, free: 2.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005594/0.4632, allocations: 177.4 kB / 0.6004 GB, free: 1.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.4632, allocations: 51.41 kB / 0.6005 GB, free: 1.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4634, allocations: 127 kB / 0.6006 GB, free: 1.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4634, allocations: 25.7 kB / 0.6006 GB, free: 1.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.4634, allocations: 96.12 kB / 0.6007 GB, free: 1.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.4635, allocations: 19.72 kB / 0.6007 GB, free: 1.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4635, allocations: 0 / 0.6007 GB, free: 1.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4636, allocations: 318.8 kB / 0.601 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.4637, allocations: 23.98 kB / 0.601 GB, free: 1.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.4637, allocations: 24.05 kB / 0.6011 GB, free: 1.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.4638, allocations: 40.06 kB / 0.6011 GB, free: 1.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4638, allocations: 0 / 0.6011 GB, free: 1.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.464, allocations: 89.59 kB / 0.6012 GB, free: 1.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.464, allocations: 8 kB / 0.6012 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.464, allocations: 0 / 0.6012 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4641, allocations: 4 kB / 0.6012 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.4641, allocations: 15.98 kB / 0.6012 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4641, allocations: 0 / 0.6012 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.4642, allocations: 8 kB / 0.6012 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.4642, allocations: 4 kB / 0.6012 GB, free: 1.012 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.715e-05/0.4643, allocations: 125.7 kB / 0.6014 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.4643, allocations: 7.906 kB / 0.6014 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.4646, allocations: 109.8 kB / 0.6015 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4646, allocations: 0 / 0.6015 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4646, allocations: 0 / 0.6015 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4646, allocations: 3.984 kB / 0.6015 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.465, allocations: 358.5 kB / 0.6018 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.465, allocations: 4 kB / 0.6018 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.4651, allocations: 15.92 kB / 0.6018 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4651, allocations: 4 kB / 0.6018 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4651, allocations: 0 / 0.6018 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4651, allocations: 3.938 kB / 0.6018 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4651, allocations: 0 / 0.6018 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.4654, allocations: 199.5 kB / 0.602 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.4654, allocations: 85.11 kB / 0.6021 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4655, allocations: 3.984 kB / 0.6021 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.4656, allocations: 12.28 kB / 0.6021 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.4656, allocations: 0 / 0.6021 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4656, allocations: 7.938 kB / 0.6021 GB, free: 15.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.4657, allocations: 109.8 kB / 0.6022 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4657, allocations: 0 / 0.6022 GB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.4659, allocations: 12 kB / 0.6022 GB, free: 15.87 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.0008757/0.4668, allocations: 403.3 kB / 0.6026 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.467, allocations: 63.95 kB / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.467, allocations: 3.938 kB / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.4671, allocations: 40.05 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.4673, allocations: 23.81 kB / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.4677, allocations: 184.6 kB / 0.6029 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.468, allocations: 0.6979 MB / 0.6036 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.4681, allocations: 20.16 kB / 0.6036 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.4681, allocations: 11.44 kB / 0.6036 GB, free: 14.54 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4681, allocations: 0 / 0.6036 GB, free: 14.54 MB / 426.7 MB Notification: Performance of Templates: time 0.003214/0.4714, allocations: 1.034 MB / 0.6047 GB, free: 13.51 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches