Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002211/0.002211, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 91.52 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2895/0.2895, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.094e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3976, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5606, allocations: 86.71 MB / 0.5506 GB, free: 12.59 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5609, allocations: 71.97 kB / 0.5507 GB, free: 12.52 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01895/0.5799, allocations: 4.3 MB / 0.5549 GB, free: 8.215 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5799, allocations: 0 / 0.5549 GB, free: 8.215 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.5799, allocations: 0 / 0.5549 GB, free: 8.215 MB / 395.1 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.0005653/0.5805, allocations: 374.3 kB / 0.5552 GB, free: 7.805 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5806, allocations: 8.031 kB / 0.5552 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.5807, allocations: 15.86 kB / 0.5552 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.581, allocations: 194.9 kB / 0.5554 GB, free: 7.551 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.581, allocations: 4 kB / 0.5554 GB, free: 7.547 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.581, allocations: 0 / 0.5554 GB, free: 7.547 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/0.5812, allocations: 20 kB / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5813, allocations: 63.39 kB / 0.5555 GB, free: 7.453 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5814, allocations: 3.938 kB / 0.5555 GB, free: 7.449 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.5814, allocations: 7.938 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5814, allocations: 0 / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.582, allocations: 289.2 kB / 0.5558 GB, free: 7.121 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.5821, allocations: 34.58 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.5822, allocations: 12.86 kB / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.5822, allocations: 12.08 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5823, allocations: 30.56 kB / 0.5559 GB, free: 7.012 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.5823, allocations: 0 / 0.5559 GB, free: 7.012 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007058/0.583, allocations: 153.5 kB / 0.556 GB, free: 6.855 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.5831, allocations: 77.11 kB / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.5833, allocations: 132.1 kB / 0.5562 GB, free: 6.625 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5833, allocations: 25.7 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.5834, allocations: 166.4 kB / 0.5564 GB, free: 6.43 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.5834, allocations: 19.72 kB / 0.5564 GB, free: 6.41 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.5835, allocations: 0 / 0.5564 GB, free: 6.41 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5836, allocations: 318.8 kB / 0.5567 GB, free: 6.09 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.5837, allocations: 16.23 kB / 0.5567 GB, free: 6.074 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.5838, allocations: 29.72 kB / 0.5568 GB, free: 6.039 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.5839, allocations: 28.02 kB / 0.5568 GB, free: 6.012 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5839, allocations: 0 / 0.5568 GB, free: 6.012 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002096/0.5841, allocations: 85.61 kB / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5841, allocations: 4 kB / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5842, allocations: 0 / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5842, allocations: 3.984 kB / 0.5569 GB, free: 5.914 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.5844, allocations: 23.98 kB / 0.5569 GB, free: 5.891 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.5845, allocations: 3.953 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.5846, allocations: 15.98 kB / 0.5569 GB, free: 5.871 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5846, allocations: 4 kB / 0.5569 GB, free: 5.867 MB / 395.1 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 () * 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 9.607e-05/0.5847, allocations: 104.9 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.5848, allocations: 7.906 kB / 0.557 GB, free: 5.75 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5851, allocations: 102.2 kB / 0.5571 GB, free: 5.648 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5851, allocations: 4 kB / 0.5571 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5851, allocations: 0 / 0.5571 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5852, allocations: 7.953 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.5857, allocations: 347.4 kB / 0.5575 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5858, allocations: 7.984 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.5859, allocations: 23.92 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.586, allocations: 0 / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.586, allocations: 4 kB / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.586, allocations: 0 / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.586, allocations: 7.953 kB / 0.5575 GB, free: 5.211 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.5863, allocations: 179.4 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.5864, allocations: 88.95 kB / 0.5578 GB, free: 4.914 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.5864, allocations: 0 / 0.5578 GB, free: 4.914 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.5866, allocations: 15.98 kB / 0.5578 GB, free: 4.898 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.5867, allocations: 11.94 kB / 0.5578 GB, free: 4.887 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5867, allocations: 8 kB / 0.5578 GB, free: 4.879 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.5868, allocations: 103.3 kB / 0.5579 GB, free: 4.777 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5868, allocations: 0 / 0.5579 GB, free: 4.777 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.5872, allocations: 32 kB / 0.5579 GB, free: 4.746 MB / 395.1 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 () * 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.001107/0.5884, allocations: 380.2 kB / 0.5583 GB, free: 4.414 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.5886, allocations: 47.98 kB / 0.5583 GB, free: 4.367 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5887, allocations: 0 / 0.5583 GB, free: 4.367 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.5888, allocations: 35.92 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.5891, allocations: 19.84 kB / 0.5584 GB, free: 4.312 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.5896, allocations: 165.8 kB / 0.5586 GB, free: 4.121 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.59, allocations: 0.704 MB / 0.5592 GB, free: 3.391 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5901, allocations: 23.36 kB / 0.5593 GB, free: 3.367 MB / 395.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5901, allocations: 0 / 0.5593 GB, free: 3.367 MB / 395.1 MB Notification: Performance of Templates: time 0.005771/0.5959, allocations: 1.84 MB / 0.5611 GB, free: 1.527 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches