Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009446/0.0009448, allocations: 98.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5617, allocations: 87.2 MB / 0.5639 GB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.562, allocations: 73.97 kB / 0.564 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.5795, allocations: 7.865 MB / 0.5717 GB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.608e-06/0.5796, allocations: 0 / 0.5717 GB, free: 5.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.5796, allocations: 7.938 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007382/0.5804, allocations: 0.6311 MB / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5804, allocations: 16.02 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.5805, allocations: 47.08 kB / 0.5723 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.5811, allocations: 330 kB / 0.5727 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5811, allocations: 4 kB / 0.5727 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5811, allocations: 3.625 kB / 0.5727 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.5813, allocations: 64.91 kB / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5814, allocations: 0 / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.5814, allocations: 8 kB / 0.5727 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5814, allocations: 0 / 0.5727 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.5815, allocations: 51.05 kB / 0.5728 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.5823, allocations: 457.1 kB / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5825, allocations: 53.67 kB / 0.5733 GB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.5825, allocations: 0 / 0.5733 GB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.5825, allocations: 42.06 kB / 0.5733 GB, free: 3.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.5825, allocations: 4 kB / 0.5733 GB, free: 3.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000954/0.5835, allocations: 340.2 kB / 0.5736 GB, free: 3.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.5836, allocations: 51.41 kB / 0.5737 GB, free: 3.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.5847, allocations: 0.7877 MB / 0.5745 GB, free: 2.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5848, allocations: 26.95 kB / 0.5745 GB, free: 2.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.5849, allocations: 214 kB / 0.5747 GB, free: 2.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.585, allocations: 23.64 kB / 0.5747 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.585, allocations: 3.5 kB / 0.5747 GB, free: 2.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5852, allocations: 359.6 kB / 0.5751 GB, free: 2.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5853, allocations: 47.05 kB / 0.5751 GB, free: 2.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.5854, allocations: 52.38 kB / 0.5752 GB, free: 2.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.5855, allocations: 53.81 kB / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5856, allocations: 0 / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003348/0.5859, allocations: 168.6 kB / 0.5754 GB, free: 1.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5859, allocations: 7.953 kB / 0.5754 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5859, allocations: 0 / 0.5754 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.586, allocations: 0 / 0.5754 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.5861, allocations: 31.91 kB / 0.5754 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5861, allocations: 320 / 0.5754 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.5862, allocations: 15.12 kB / 0.5754 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5862, allocations: 4 kB / 0.5754 GB, free: 1.918 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0002012/0.5864, allocations: 217 kB / 0.5756 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.5865, allocations: 39.44 kB / 0.5757 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.5869, allocations: 207.7 kB / 0.5759 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5869, allocations: 4 kB / 0.5759 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5869, allocations: 0 / 0.5759 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.587, allocations: 288 / 0.5759 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.588, allocations: 0.6492 MB / 0.5765 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.588, allocations: 4 kB / 0.5765 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.5881, allocations: 27.94 kB / 0.5765 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5881, allocations: 4 kB / 0.5765 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5881, allocations: 7.969 kB / 0.5765 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.5882, allocations: 4 kB / 0.5765 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5882, allocations: 3.938 kB / 0.5765 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.5886, allocations: 269.4 kB / 0.5768 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.5888, allocations: 164.1 kB / 0.577 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.5889, allocations: 11.94 kB / 0.577 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.589, allocations: 8 kB / 0.577 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.5891, allocations: 15.61 kB / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.5891, allocations: 0 / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006944/0.5898, allocations: 0.6425 MB / 0.5776 GB, free: 15.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5898, allocations: 0 / 0.5776 GB, free: 15.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.5901, allocations: 63.5 kB / 0.5777 GB, free: 15.83 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0009576/0.5911, allocations: 403.8 kB / 0.5781 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.5914, allocations: 107.1 kB / 0.5782 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5915, allocations: 0 / 0.5782 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5916, allocations: 59.47 kB / 0.5782 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.5919, allocations: 17.45 kB / 0.5782 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.5932, allocations: 0.9432 MB / 0.5792 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.5936, allocations: 0.8328 MB / 0.58 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.5938, allocations: 57.19 kB / 0.58 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.5939, allocations: 23.44 kB / 0.5801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5939, allocations: 0 / 0.5801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of Templates: time 0.006951/0.6008, allocations: 2.523 MB / 0.5825 GB, free: 11 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches