Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008799/0.00088, allocations: 183 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.182/1.182, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0007623/0.0007624, allocations: 97.45 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.2817/0.2817, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 16 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 61.88 MB / 0.5107 GB, free: 38.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0983/0.3615, allocations: 88.57 MB / 0.5972 GB, free: 6.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3617, allocations: 79.94 kB / 0.5973 GB, free: 6.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.3732, allocations: 4.622 MB / 0.6018 GB, free: 1.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3732, allocations: 0 / 0.6018 GB, free: 1.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.3732, allocations: 0 / 0.6018 GB, free: 1.816 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.0005098/0.3738, allocations: 442.8 kB / 0.6022 GB, free: 1.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3738, allocations: 8.031 kB / 0.6022 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3739, allocations: 12.84 kB / 0.6023 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3741, allocations: 200.1 kB / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3741, allocations: 4.375 kB / 0.6025 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3742, allocations: 4.375 kB / 0.6025 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3744, allocations: 78.11 kB / 0.6025 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3744, allocations: 192 / 0.6025 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3744, allocations: 3.938 kB / 0.6025 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3744, allocations: 0 / 0.6025 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3746, allocations: 51.95 kB / 0.6026 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.375, allocations: 320.6 kB / 0.6029 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3753, allocations: 58.55 kB / 0.6029 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.3754, allocations: 28.97 kB / 0.603 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3754, allocations: 4 kB / 0.603 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3754, allocations: 34.56 kB / 0.603 GB, free: 436 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.3755, allocations: 0 / 0.603 GB, free: 436 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001463/0.3769, allocations: 470 kB / 0.6035 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.377, allocations: 51.41 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.3772, allocations: 196.1 kB / 0.6037 GB, free: 15.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3772, allocations: 29.7 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3773, allocations: 100.1 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.3773, allocations: 39.45 kB / 0.6039 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.3774, allocations: 4 kB / 0.6039 GB, free: 15.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3775, allocations: 322.8 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3776, allocations: 47.97 kB / 0.6042 GB, free: 15.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3778, allocations: 55.97 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.378, allocations: 113.1 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.378, allocations: 0 / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002901/0.3783, allocations: 169.4 kB / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3783, allocations: 4 kB / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3783, allocations: 0 / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3783, allocations: 0 / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3785, allocations: 27.98 kB / 0.6046 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3785, allocations: 4 kB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.3786, allocations: 19.92 kB / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3786, allocations: 4 kB / 0.6046 GB, free: 14.75 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 8.853e-05/0.3787, allocations: 126.4 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.3787, allocations: 19.75 kB / 0.6047 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.3791, allocations: 182.2 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3791, allocations: 0 / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3791, allocations: 0 / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3791, allocations: 8.438 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.3797, allocations: 500 kB / 0.6054 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3798, allocations: 4.062 kB / 0.6054 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.3799, allocations: 39.92 kB / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3799, allocations: 0 / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3799, allocations: 0 / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3799, allocations: 7.984 kB / 0.6054 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3799, allocations: 3.938 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.3802, allocations: 261.1 kB / 0.6057 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.3803, allocations: 108.8 kB / 0.6058 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3803, allocations: 0 / 0.6058 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.3804, allocations: 15.98 kB / 0.6058 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.3805, allocations: 11.98 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3805, allocations: 4 kB / 0.6058 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3806, allocations: 144.9 kB / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3806, allocations: 3.938 kB / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.3809, allocations: 32 kB / 0.606 GB, free: 13.2 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.0009463/0.3819, allocations: 467.9 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.3822, allocations: 127.8 kB / 0.6066 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3822, allocations: 4 kB / 0.6066 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.3823, allocations: 71.84 kB / 0.6066 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3826, allocations: 23.92 kB / 0.6067 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.3831, allocations: 290.8 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.3834, allocations: 0.716 MB / 0.6076 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.3835, allocations: 20.55 kB / 0.6077 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.3835, allocations: 19.42 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3835, allocations: 3.938 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of Templates: time 0.003721/0.3872, allocations: 1.516 MB / 0.6092 GB, free: 10.08 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches