Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000935/0.0009347, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.000905, allocations: 98.08 kB / 281.6 MB, free: 5.316 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.2175/0.2175, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.85e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5657, allocations: 87.32 MB / 0.5799 GB, free: 9.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.566, allocations: 75.95 kB / 0.58 GB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009655/0.5757, allocations: 3.734 MB / 0.5837 GB, free: 5.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5757, allocations: 4 kB / 0.5837 GB, free: 5.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.5758, allocations: 0 / 0.5837 GB, free: 5.406 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.0003518/0.5761, allocations: 382.3 kB / 0.584 GB, free: 4.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5762, allocations: 11.98 kB / 0.584 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.5762, allocations: 7.906 kB / 0.584 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.5764, allocations: 193.1 kB / 0.5842 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.5765, allocations: 3.953 kB / 0.5842 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.5765, allocations: 4 kB / 0.5842 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.048e-05/0.5765, allocations: 12 kB / 0.5843 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.5766, allocations: 45.69 kB / 0.5843 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5766, allocations: 3.984 kB / 0.5843 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5767, allocations: 0 / 0.5843 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.5767, allocations: 0 / 0.5843 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.577, allocations: 265.4 kB / 0.5846 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.5772, allocations: 38.56 kB / 0.5846 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.5772, allocations: 12.86 kB / 0.5846 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.5773, allocations: 7.938 kB / 0.5846 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.5773, allocations: 30.56 kB / 0.5846 GB, free: 4.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.5773, allocations: 0 / 0.5846 GB, free: 4.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003668/0.5777, allocations: 109.4 kB / 0.5847 GB, free: 4.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.5777, allocations: 55.41 kB / 0.5848 GB, free: 4.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5778, allocations: 148.8 kB / 0.5849 GB, free: 3.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.5779, allocations: 25.7 kB / 0.585 GB, free: 3.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.5779, allocations: 100.1 kB / 0.5851 GB, free: 3.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.5779, allocations: 19.72 kB / 0.5851 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.5779, allocations: 0 / 0.5851 GB, free: 3.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5781, allocations: 326.8 kB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.5781, allocations: 8 kB / 0.5854 GB, free: 3.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.5781, allocations: 12.75 kB / 0.5854 GB, free: 3.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.5782, allocations: 19.98 kB / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.5782, allocations: 0 / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.667e-05/0.5783, allocations: 69.72 kB / 0.5855 GB, free: 3.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5783, allocations: 8 kB / 0.5855 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5783, allocations: 0 / 0.5855 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5783, allocations: 0 / 0.5855 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.5784, allocations: 15.98 kB / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5784, allocations: 3.938 kB / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.5785, allocations: 8 kB / 0.5855 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.5785, allocations: 0 / 0.5855 GB, free: 3.301 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 () * 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 7.245e-05/0.5785, allocations: 108.9 kB / 0.5856 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.5786, allocations: 7.906 kB / 0.5856 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.5787, allocations: 78.02 kB / 0.5857 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5787, allocations: 7.984 kB / 0.5857 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5787, allocations: 0 / 0.5857 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5788, allocations: 0 / 0.5857 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.5791, allocations: 315.1 kB / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5791, allocations: 0 / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.5792, allocations: 15.98 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5792, allocations: 0 / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5792, allocations: 0 / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5792, allocations: 3.938 kB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5792, allocations: 11.92 kB / 0.5861 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.5794, allocations: 163.4 kB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.5794, allocations: 93 kB / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.5795, allocations: 0 / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.5795, allocations: 4.25 kB / 0.5863 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.5796, allocations: 7.984 kB / 0.5863 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5796, allocations: 4 kB / 0.5863 GB, free: 2.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.5797, allocations: 121.2 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5797, allocations: 4 kB / 0.5864 GB, free: 2.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.5799, allocations: 19.92 kB / 0.5865 GB, free: 2.266 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 () * 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.0007174/0.5806, allocations: 338.8 kB / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.699e-05/0.5807, allocations: 35.98 kB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5808, allocations: 0 / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.5808, allocations: 16 kB / 0.5868 GB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.581, allocations: 19.88 kB / 0.5868 GB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.5813, allocations: 128.5 kB / 0.587 GB, free: 1.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5816, allocations: 0.6963 MB / 0.5876 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.5816, allocations: 12.17 kB / 0.5877 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.5817, allocations: 15.38 kB / 0.5877 GB, free: 1.027 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5817, allocations: 0 / 0.5877 GB, free: 1.027 MB / 394.7 MB Notification: Performance of Templates: time 0.003005/0.5847, allocations: 1.043 MB / 0.5887 GB, free: 15.99 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches