Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009137/0.0009138, allocations: 179.9 kB / 16.77 MB, free: 5.051 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.618/1.618, allocations: 205.4 MB / 222.9 MB, free: 8.953 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.001004/0.001005, allocations: 90.39 kB / 271.3 MB, free: 8.246 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.3775/0.3775, allocations: 43.56 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004037, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.5164, allocations: 86.49 MB / 0.5644 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.5166, allocations: 71.97 kB / 0.5645 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009451/0.5261, allocations: 3.628 MB / 0.568 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5261, allocations: 4 kB / 0.568 GB, free: 11.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5261, allocations: 4 kB / 0.568 GB, free: 11.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000431/0.5266, allocations: 390.7 kB / 0.5684 GB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.5266, allocations: 12.03 kB / 0.5684 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.5267, allocations: 8.406 kB / 0.5684 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.5269, allocations: 200.2 kB / 0.5686 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.527, allocations: 384 / 0.5686 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.527, allocations: 4.375 kB / 0.5686 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5271, allocations: 53.69 kB / 0.5687 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5272, allocations: 4.188 kB / 0.5687 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5272, allocations: 3.938 kB / 0.5687 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5272, allocations: 3.984 kB / 0.5687 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.5273, allocations: 27.92 kB / 0.5687 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.5277, allocations: 285 kB / 0.569 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.5279, allocations: 50.48 kB / 0.569 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.528, allocations: 20.8 kB / 0.569 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.528, allocations: 4 kB / 0.5691 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.528, allocations: 38.64 kB / 0.5691 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.528, allocations: 0 / 0.5691 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005833/0.5286, allocations: 169.5 kB / 0.5693 GB, free: 10.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.5287, allocations: 51.41 kB / 0.5693 GB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.5289, allocations: 157.8 kB / 0.5695 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5289, allocations: 25.7 kB / 0.5695 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.529, allocations: 100 kB / 0.5696 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.529, allocations: 19.75 kB / 0.5696 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.529, allocations: 0 / 0.5696 GB, free: 10.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5291, allocations: 323 kB / 0.5699 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.5292, allocations: 27.98 kB / 0.5699 GB, free: 9.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.5293, allocations: 23.98 kB / 0.5699 GB, free: 9.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5294, allocations: 68.75 kB / 0.57 GB, free: 9.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5294, allocations: 4 kB / 0.57 GB, free: 9.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.5296, allocations: 93.52 kB / 0.5701 GB, free: 9.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5297, allocations: 4 kB / 0.5701 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5297, allocations: 0 / 0.5701 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5297, allocations: 0 / 0.5701 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.5298, allocations: 23.97 kB / 0.5701 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5298, allocations: 0 / 0.5701 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.5298, allocations: 8 kB / 0.5701 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5298, allocations: 3.984 kB / 0.5701 GB, free: 9.48 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0001016/0.5299, allocations: 125.8 kB / 0.5703 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.53, allocations: 7.906 kB / 0.5703 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.5302, allocations: 110.4 kB / 0.5704 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5302, allocations: 0.75 kB / 0.5704 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5302, allocations: 4.312 kB / 0.5704 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5303, allocations: 0 / 0.5704 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.5307, allocations: 378.5 kB / 0.5707 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5307, allocations: 0 / 0.5707 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.5308, allocations: 15.98 kB / 0.5708 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5308, allocations: 3.938 kB / 0.5708 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.5308, allocations: 0 / 0.5708 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5308, allocations: 3.938 kB / 0.5708 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.5308, allocations: 0 / 0.5708 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.5311, allocations: 195.4 kB / 0.571 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.5312, allocations: 89.02 kB / 0.571 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.5312, allocations: 3.984 kB / 0.571 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.5313, allocations: 8 kB / 0.571 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.5313, allocations: 7.938 kB / 0.5711 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.5313, allocations: 4 kB / 0.5711 GB, free: 8.441 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.5315, allocations: 132.9 kB / 0.5712 GB, free: 8.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5315, allocations: 0 / 0.5712 GB, free: 8.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.5317, allocations: 24 kB / 0.5712 GB, free: 8.293 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 (5): * Single equations (assignments): 5 * 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.0009163/0.5326, allocations: 411.8 kB / 0.5716 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.5328, allocations: 59.91 kB / 0.5717 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5328, allocations: 0 / 0.5717 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.5329, allocations: 27.98 kB / 0.5717 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.5332, allocations: 15.98 kB / 0.5717 GB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.5337, allocations: 215.4 kB / 0.5719 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.534, allocations: 0.6965 MB / 0.5726 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.5341, allocations: 27.91 kB / 0.5726 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.5341, allocations: 15.44 kB / 0.5726 GB, free: 6.879 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5341, allocations: 0 / 0.5726 GB, free: 6.879 MB / 394.7 MB Notification: Performance of Templates: time 0.003666/0.5378, allocations: 1.077 MB / 0.5737 GB, free: 5.809 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches