Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008506/0.0008507, allocations: 179.1 kB / 18.09 MB, free: 3.75 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.178/1.178, 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.0007712/0.0007713, allocations: 92.67 kB / 293.3 MB, free: 10.77 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.279/0.279, allocations: 44.14 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 61.88 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09181/0.3467, allocations: 88.29 MB / 0.5969 GB, free: 6.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3469, allocations: 83.94 kB / 0.597 GB, free: 6.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.3581, allocations: 4.725 MB / 0.6016 GB, free: 1.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3581, allocations: 0 / 0.6016 GB, free: 1.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3581, allocations: 0 / 0.6016 GB, free: 1.977 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003974/0.3585, allocations: 438.7 kB / 0.6021 GB, free: 1.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3586, allocations: 8.031 kB / 0.6021 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3586, allocations: 12.84 kB / 0.6021 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3588, allocations: 222.2 kB / 0.6023 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.3588, allocations: 4.375 kB / 0.6023 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.3589, allocations: 8.375 kB / 0.6023 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.359, allocations: 78.16 kB / 0.6024 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.359, allocations: 192 / 0.6024 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3591, allocations: 3.938 kB / 0.6024 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3591, allocations: 8 kB / 0.6024 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3592, allocations: 47.91 kB / 0.6024 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.3596, allocations: 348.7 kB / 0.6028 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3598, allocations: 74.5 kB / 0.6028 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.3598, allocations: 24.84 kB / 0.6029 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3599, allocations: 4.141 kB / 0.6029 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3599, allocations: 34.56 kB / 0.6029 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3599, allocations: 0 / 0.6029 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009649/0.3609, allocations: 365.1 kB / 0.6032 GB, free: 164 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3609, allocations: 55.34 kB / 0.6033 GB, free: 96 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.3611, allocations: 230.3 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3611, allocations: 25.7 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.3612, allocations: 116.1 kB / 0.6037 GB, free: 15.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3612, allocations: 43.34 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.3613, allocations: 4 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.3614, allocations: 322.8 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.3615, allocations: 47.97 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.3616, allocations: 49.34 kB / 0.6041 GB, free: 15.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3618, allocations: 116.9 kB / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3618, allocations: 0 / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000254/0.362, allocations: 171.4 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.362, allocations: 9.719 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3621, allocations: 0 / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3621, allocations: 0 / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3622, allocations: 27.98 kB / 0.6044 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3622, allocations: 3.938 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3623, allocations: 7.984 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.3623, allocations: 4 kB / 0.6044 GB, free: 14.9 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 9.372e-05/0.3624, allocations: 141.8 kB / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3624, allocations: 11.81 kB / 0.6046 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.3627, allocations: 187.1 kB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3628, allocations: 4 kB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3628, allocations: 7.938 kB / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3628, allocations: 0 / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.3634, allocations: 0.5147 MB / 0.6053 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3634, allocations: 8.031 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.3635, allocations: 35.91 kB / 0.6053 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3635, allocations: 4 kB / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3635, allocations: 0 / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3635, allocations: 0 / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3635, allocations: 4.234 kB / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.3638, allocations: 260 kB / 0.6056 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.3639, allocations: 96.91 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3639, allocations: 7.938 kB / 0.6057 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.364, allocations: 8 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3641, allocations: 15.92 kB / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3641, allocations: 8 kB / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3642, allocations: 163.2 kB / 0.6058 GB, free: 13.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3642, allocations: 4 kB / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.3645, allocations: 47.86 kB / 0.6059 GB, free: 13.29 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.0008682/0.3653, allocations: 454 kB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3656, allocations: 127.8 kB / 0.6065 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3656, allocations: 0 / 0.6065 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3657, allocations: 67.97 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.366, allocations: 19.92 kB / 0.6065 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3665, allocations: 358.8 kB / 0.6069 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3668, allocations: 0.7238 MB / 0.6076 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.608e-05/0.3669, allocations: 28.53 kB / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.367, allocations: 19.44 kB / 0.6076 GB, free: 11.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.367, allocations: 0 / 0.6076 GB, free: 11.63 MB / 426.7 MB Notification: Performance of Templates: time 0.003637/0.3706, allocations: 1.62 MB / 0.6092 GB, free: 10.02 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches