Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.648/1.648, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.000912/0.0009124, allocations: 86.34 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3907/0.3907, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 19.98 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/0.4669, allocations: 86.64 MB / 0.5646 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4671, allocations: 70.78 kB / 0.5646 GB, free: 15.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.4777, allocations: 4.262 MB / 0.5688 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4778, allocations: 0 / 0.5688 GB, free: 11.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.4778, allocations: 4 kB / 0.5688 GB, free: 11.05 MB / 394.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.0004894/0.4783, allocations: 426.5 kB / 0.5692 GB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4783, allocations: 12.03 kB / 0.5692 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.4784, allocations: 12.75 kB / 0.5692 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4786, allocations: 213.2 kB / 0.5694 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4787, allocations: 4.375 kB / 0.5694 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4787, allocations: 8.281 kB / 0.5694 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4789, allocations: 87.83 kB / 0.5695 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4789, allocations: 192 / 0.5695 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.4789, allocations: 7.938 kB / 0.5695 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4789, allocations: 2.812 kB / 0.5695 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4791, allocations: 43.95 kB / 0.5696 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.4796, allocations: 409 kB / 0.57 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.4799, allocations: 85.38 kB / 0.57 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.48, allocations: 33.8 kB / 0.5701 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.48, allocations: 0 / 0.5701 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.4801, allocations: 38.56 kB / 0.5701 GB, free: 9.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4801, allocations: 0 / 0.5701 GB, free: 9.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007397/0.4808, allocations: 268.6 kB / 0.5704 GB, free: 9.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4809, allocations: 77.11 kB / 0.5704 GB, free: 9.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4811, allocations: 223.3 kB / 0.5707 GB, free: 8.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4811, allocations: 29.7 kB / 0.5707 GB, free: 8.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.4812, allocations: 108.1 kB / 0.5708 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.4812, allocations: 31.56 kB / 0.5708 GB, free: 8.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4812, allocations: 0 / 0.5708 GB, free: 8.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4814, allocations: 326.8 kB / 0.5711 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.4814, allocations: 39.97 kB / 0.5712 GB, free: 8.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.4815, allocations: 53.69 kB / 0.5712 GB, free: 8.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4817, allocations: 99.42 kB / 0.5713 GB, free: 8.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4817, allocations: 0 / 0.5713 GB, free: 8.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002572/0.482, allocations: 134.3 kB / 0.5714 GB, free: 8.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.482, allocations: 4.938 kB / 0.5714 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.482, allocations: 0 / 0.5714 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4821, allocations: 4 kB / 0.5714 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.4821, allocations: 20.92 kB / 0.5715 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4822, allocations: 4 kB / 0.5715 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.4822, allocations: 11.98 kB / 0.5715 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4822, allocations: 8.25 kB / 0.5715 GB, free: 8.035 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001444/0.4824, allocations: 134.3 kB / 0.5716 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.4824, allocations: 15.81 kB / 0.5716 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.4828, allocations: 158.5 kB / 0.5718 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4828, allocations: 4 kB / 0.5718 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4828, allocations: 4 kB / 0.5718 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4828, allocations: 3.938 kB / 0.5718 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.4836, allocations: 0.5377 MB / 0.5723 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4836, allocations: 0 / 0.5723 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.4837, allocations: 23.92 kB / 0.5723 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4837, allocations: 4 kB / 0.5723 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4837, allocations: 3.938 kB / 0.5724 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4837, allocations: 0 / 0.5724 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4837, allocations: 7.938 kB / 0.5724 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.484, allocations: 312 kB / 0.5727 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.4841, allocations: 96.92 kB / 0.5728 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4841, allocations: 7.938 kB / 0.5728 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4842, allocations: 11.98 kB / 0.5728 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.4843, allocations: 4 kB / 0.5728 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4843, allocations: 11.98 kB / 0.5728 GB, free: 6.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.4845, allocations: 166.5 kB / 0.5729 GB, free: 6.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4845, allocations: 0 / 0.5729 GB, free: 6.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.4848, allocations: 31.92 kB / 0.573 GB, free: 6.406 MB / 394.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 (10): * Single equations (assignments): 10 * 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.0008599/0.4856, allocations: 416.5 kB / 0.5734 GB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.4859, allocations: 95.88 kB / 0.5735 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4859, allocations: 0 / 0.5735 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.486, allocations: 47.91 kB / 0.5735 GB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.4863, allocations: 16.06 kB / 0.5735 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.4869, allocations: 326.9 kB / 0.5738 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4872, allocations: 0.7121 MB / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.4873, allocations: 35.31 kB / 0.5746 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.4873, allocations: 11.44 kB / 0.5746 GB, free: 4.812 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4873, allocations: 0 / 0.5746 GB, free: 4.812 MB / 394.7 MB Notification: Performance of Templates: time 0.003505/0.4908, allocations: 1.343 MB / 0.5759 GB, free: 3.477 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches