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.0008658/0.0008659, allocations: 179.1 kB / 18.08 MB, free: 3.754 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.214/1.214, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.000818/0.0008182, allocations: 94.2 kB / 293.3 MB, free: 10.79 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.2811/0.2811, allocations: 44.14 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2586, allocations: 61.88 MB / 0.5107 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09664/0.3553, allocations: 88.08 MB / 0.5967 GB, free: 7.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.3555, allocations: 71.95 kB / 0.5968 GB, free: 6.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009228/0.3648, allocations: 3.694 MB / 0.6004 GB, free: 3.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3648, allocations: 4 kB / 0.6004 GB, free: 3.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3648, allocations: 0 / 0.6004 GB, free: 3.238 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.0003397/0.3652, allocations: 383.1 kB / 0.6008 GB, free: 2.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3652, allocations: 8.031 kB / 0.6008 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.3652, allocations: 8.844 kB / 0.6008 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3654, allocations: 196.2 kB / 0.601 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3654, allocations: 4.375 kB / 0.601 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.3655, allocations: 4.375 kB / 0.601 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3656, allocations: 54.23 kB / 0.601 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3656, allocations: 4.125 kB / 0.601 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3656, allocations: 3.938 kB / 0.6011 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3656, allocations: 0 / 0.6011 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.3657, allocations: 27.92 kB / 0.6011 GB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.3661, allocations: 281 kB / 0.6013 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3662, allocations: 54.48 kB / 0.6014 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.3663, allocations: 12.86 kB / 0.6014 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3663, allocations: 0 / 0.6014 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3663, allocations: 46.58 kB / 0.6015 GB, free: 2.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3664, allocations: 3.938 kB / 0.6015 GB, free: 2.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004923/0.3668, allocations: 169.2 kB / 0.6016 GB, free: 1.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.3669, allocations: 51.41 kB / 0.6017 GB, free: 1.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.367, allocations: 143.9 kB / 0.6018 GB, free: 1.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.367, allocations: 25.7 kB / 0.6018 GB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.3671, allocations: 96.12 kB / 0.6019 GB, free: 1.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.3671, allocations: 7.812 kB / 0.6019 GB, free: 1.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.3671, allocations: 0 / 0.6019 GB, free: 1.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.3672, allocations: 330.8 kB / 0.6022 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.3673, allocations: 23.98 kB / 0.6023 GB, free: 1.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.3673, allocations: 23.98 kB / 0.6023 GB, free: 1.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3675, allocations: 65.02 kB / 0.6024 GB, free: 1.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3675, allocations: 3.984 kB / 0.6024 GB, free: 1.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/0.3676, allocations: 93.52 kB / 0.6024 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3677, allocations: 4 kB / 0.6024 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3677, allocations: 0 / 0.6024 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3677, allocations: 8 kB / 0.6025 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.3678, allocations: 11.98 kB / 0.6025 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3678, allocations: 4 kB / 0.6025 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.3678, allocations: 4 kB / 0.6025 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3678, allocations: 0 / 0.6025 GB, free: 0.9023 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 7.538e-05/0.3679, allocations: 126.2 kB / 0.6026 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3679, allocations: 7.906 kB / 0.6026 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3682, allocations: 109.9 kB / 0.6027 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3682, allocations: 0 / 0.6027 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3682, allocations: 0 / 0.6027 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3682, allocations: 3.984 kB / 0.6027 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.3686, allocations: 358.5 kB / 0.6031 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3686, allocations: 0 / 0.6031 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.3686, allocations: 15.98 kB / 0.6031 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3686, allocations: 0 / 0.6031 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3686, allocations: 0 / 0.6031 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3687, allocations: 4 kB / 0.6031 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3687, allocations: 7.875 kB / 0.6031 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3689, allocations: 195.6 kB / 0.6033 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.369, allocations: 96.94 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.369, allocations: 0 / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.3691, allocations: 12 kB / 0.6034 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3691, allocations: 11.92 kB / 0.6034 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.3691, allocations: 0 / 0.6034 GB, free: 15.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.3692, allocations: 110.2 kB / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3692, allocations: 0 / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.3694, allocations: 16 kB / 0.6035 GB, free: 15.75 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.0007685/0.3702, allocations: 409.1 kB / 0.6039 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.3704, allocations: 63.89 kB / 0.604 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3704, allocations: 3.938 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.3705, allocations: 32.11 kB / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3707, allocations: 12.11 kB / 0.604 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.3711, allocations: 192.6 kB / 0.6042 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3713, allocations: 0.6926 MB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.171e-05/0.3713, allocations: 15.98 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3714, allocations: 11.44 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3714, allocations: 0 / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of Templates: time 0.002816/0.3742, allocations: 1.044 MB / 0.6059 GB, free: 13.39 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/jenkins1/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