Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.335/1.335, allocations: 223.2 MB / 241 MB, free: 10.13 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.0008653/0.0008653, allocations: 91.89 kB / 292.2 MB, free: 10.7 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.3347/0.3347, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 12 kB / 459.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3187, allocations: 61.89 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4357, allocations: 89.01 MB / 0.5965 GB, free: 6.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.436, allocations: 75.94 kB / 0.5966 GB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01167/0.4477, allocations: 4.731 MB / 0.6012 GB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4478, allocations: 0 / 0.6012 GB, free: 1.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4478, allocations: 8 kB / 0.6012 GB, free: 1.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004608/0.4482, allocations: 426.7 kB / 0.6016 GB, free: 0.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4483, allocations: 8.562 kB / 0.6016 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.4483, allocations: 11.89 kB / 0.6016 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.4486, allocations: 203.9 kB / 0.6018 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4486, allocations: 7.953 kB / 0.6018 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.4486, allocations: 7.938 kB / 0.6018 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.4488, allocations: 73.66 kB / 0.6019 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4488, allocations: 3.906 kB / 0.6019 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4489, allocations: 4 kB / 0.6019 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4489, allocations: 0 / 0.6019 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.449, allocations: 51.97 kB / 0.6019 GB, free: 476 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.4495, allocations: 328.7 kB / 0.6023 GB, free: 96 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.4497, allocations: 70.55 kB / 0.6023 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4497, allocations: 0 / 0.6023 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.4498, allocations: 30.66 kB / 0.6024 GB, free: 15.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.4498, allocations: 3.938 kB / 0.6024 GB, free: 15.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001444/0.4513, allocations: 496.9 kB / 0.6028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4513, allocations: 56.64 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4515, allocations: 171.1 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4515, allocations: 29.7 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.4516, allocations: 108 kB / 0.6032 GB, free: 15.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4516, allocations: 35.55 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.4516, allocations: 7.938 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4517, allocations: 322.8 kB / 0.6035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4519, allocations: 63.89 kB / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.452, allocations: 64.06 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4522, allocations: 68.12 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4522, allocations: 0 / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003221/0.4525, allocations: 189.4 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4525, allocations: 4 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4525, allocations: 0 / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4526, allocations: 4 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.4527, allocations: 27.98 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4528, allocations: 3.938 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.4528, allocations: 19.94 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4528, allocations: 8 kB / 0.604 GB, free: 14.28 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 (11): * Single equations (assignments): 11 * 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 0.0001004/0.453, allocations: 135.1 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.453, allocations: 11.91 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.4534, allocations: 206.1 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4534, allocations: 4.562 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4534, allocations: 0 / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4534, allocations: 7.969 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.4541, allocations: 0.5156 MB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4541, allocations: 4 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.4542, allocations: 35.97 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4543, allocations: 8.062 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4543, allocations: 3.953 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4543, allocations: 4 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4543, allocations: 7.875 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.4546, allocations: 308.4 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.4547, allocations: 93 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4548, allocations: 8 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.4549, allocations: 15.98 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4549, allocations: 4 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4549, allocations: 7.984 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.455, allocations: 156 kB / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.455, allocations: 96 / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.4553, allocations: 35.94 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.000977/0.4563, allocations: 473.9 kB / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.4567, allocations: 143.9 kB / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4567, allocations: 0 / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4568, allocations: 76.02 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.4571, allocations: 23.94 kB / 0.6062 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.4576, allocations: 327.3 kB / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.4579, allocations: 0.716 MB / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.967e-05/0.458, allocations: 36.52 kB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.458, allocations: 23.38 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.458, allocations: 0 / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of Templates: time 0.003717/0.4618, allocations: 1.581 MB / 0.6088 GB, free: 9.352 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches