Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 178.8 kB / 18.09 MB, free: 3.625 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.186/1.186, allocations: 223.3 MB / 242.1 MB, free: 9.941 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.0007738/0.0007739, allocations: 92.14 kB / 293.3 MB, free: 10.55 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.2799/0.2799, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2635, allocations: 61.88 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09785/0.3614, allocations: 88.31 MB / 0.597 GB, free: 6.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.3616, allocations: 79.94 kB / 0.597 GB, free: 6.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01525/0.3769, allocations: 7.97 MB / 0.6048 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3769, allocations: 0 / 0.6048 GB, free: 14.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.377, allocations: 8 kB / 0.6048 GB, free: 14.72 MB / 426.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.000569/0.3775, allocations: 0.6259 MB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3776, allocations: 15.97 kB / 0.6055 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.3776, allocations: 48.38 kB / 0.6055 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.378, allocations: 348.2 kB / 0.6058 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.378, allocations: 384 / 0.6058 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3781, allocations: 384 / 0.6058 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3782, allocations: 57.95 kB / 0.6059 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3782, allocations: 192 / 0.6059 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3782, allocations: 7.938 kB / 0.6059 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3782, allocations: 4 kB / 0.6059 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3783, allocations: 39.97 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.3788, allocations: 424.7 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3789, allocations: 58.44 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.379, allocations: 20.94 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.379, allocations: 4 kB / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3791, allocations: 30.56 kB / 0.6065 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3791, allocations: 8 kB / 0.6065 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002823/0.3794, allocations: 129.1 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.3794, allocations: 51.41 kB / 0.6066 GB, free: 12.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3805, allocations: 0.8417 MB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3805, allocations: 29.7 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3807, allocations: 220 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.3807, allocations: 3.906 kB / 0.6077 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.3807, allocations: 0 / 0.6077 GB, free: 11.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3808, allocations: 362.8 kB / 0.608 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.3809, allocations: 15.98 kB / 0.6081 GB, free: 11.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.381, allocations: 27.92 kB / 0.6081 GB, free: 11.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3811, allocations: 40.83 kB / 0.6081 GB, free: 11.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3811, allocations: 7.938 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001842/0.3813, allocations: 117 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3813, allocations: 8 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3813, allocations: 0 / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.3813, allocations: 0 / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.3814, allocations: 11.98 kB / 0.6083 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3814, allocations: 0 / 0.6083 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.3815, allocations: 8 kB / 0.6083 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3815, allocations: 4 kB / 0.6083 GB, free: 10.97 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 (3): * Single equations (assignments): 3 * 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.0001608/0.3817, allocations: 213.7 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3817, allocations: 35.53 kB / 0.6085 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3819, allocations: 132.9 kB / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.382, allocations: 4 kB / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.382, allocations: 3.984 kB / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.382, allocations: 0 / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3823, allocations: 333.2 kB / 0.609 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3823, allocations: 0 / 0.609 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3823, allocations: 8 kB / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3823, allocations: 0 / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3823, allocations: 0 / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3823, allocations: 3.984 kB / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3823, allocations: 4 kB / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3826, allocations: 207 kB / 0.6092 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.3827, allocations: 168.5 kB / 0.6093 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3828, allocations: 4 kB / 0.6093 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.3829, allocations: 11.98 kB / 0.6094 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.3829, allocations: 4 kB / 0.6094 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3829, allocations: 0 / 0.6094 GB, free: 9.754 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006387/0.3836, allocations: 0.6393 MB / 0.61 GB, free: 9.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3836, allocations: 0 / 0.61 GB, free: 9.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.3838, allocations: 52 kB / 0.61 GB, free: 9.066 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 (3): * Single equations (assignments): 3 * 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.0007223/0.3846, allocations: 367.6 kB / 0.6104 GB, free: 8.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.3847, allocations: 39.97 kB / 0.6104 GB, free: 8.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3847, allocations: 1.219 kB / 0.6104 GB, free: 8.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.3848, allocations: 23.98 kB / 0.6104 GB, free: 8.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.3851, allocations: 30.5 kB / 0.6105 GB, free: 8.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3862, allocations: 0.8802 MB / 0.6113 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3865, allocations: 0.8184 MB / 0.6121 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.3866, allocations: 40.25 kB / 0.6122 GB, free: 6.953 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.3866, allocations: 15.44 kB / 0.6122 GB, free: 6.938 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3867, allocations: 0 / 0.6122 GB, free: 6.938 MB / 426.7 MB Notification: Performance of Templates: time 0.005051/0.3917, allocations: 2.295 MB / 0.6144 GB, free: 4.637 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches