Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.3 MB / 236 MB, free: 2.969 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.0007341/0.000734, allocations: 91.98 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1712/0.1712, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.16e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.5097, allocations: 87.87 MB / 0.5875 GB, free: 1.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.51, allocations: 75.95 kB / 0.5876 GB, free: 1.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009434/0.5194, allocations: 3.753 MB / 0.5912 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5195, allocations: 0 / 0.5912 GB, free: 13.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.5195, allocations: 4 kB / 0.5913 GB, free: 13.65 MB / 410.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.0003362/0.5198, allocations: 374.3 kB / 0.5916 GB, free: 13.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5199, allocations: 8.031 kB / 0.5916 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.5199, allocations: 11.91 kB / 0.5916 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.5201, allocations: 190.9 kB / 0.5918 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.5202, allocations: 15.89 kB / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.5202, allocations: 0 / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.5203, allocations: 41.69 kB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5203, allocations: 0 / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5203, allocations: 0 / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5203, allocations: 0 / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.5204, allocations: 19.94 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.5207, allocations: 276.9 kB / 0.5921 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.5209, allocations: 38.58 kB / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.5209, allocations: 12.89 kB / 0.5922 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.5209, allocations: 3.984 kB / 0.5922 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.521, allocations: 34.5 kB / 0.5922 GB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.521, allocations: 4 kB / 0.5922 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003638/0.5213, allocations: 109.4 kB / 0.5923 GB, free: 12.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5214, allocations: 55.34 kB / 0.5924 GB, free: 12.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.5215, allocations: 154.6 kB / 0.5925 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5216, allocations: 25.7 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.5216, allocations: 100.1 kB / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.5216, allocations: 15.72 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.5216, allocations: 4 kB / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5218, allocations: 330.8 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.5218, allocations: 4 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.5218, allocations: 8 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.5218, allocations: 12 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5219, allocations: 0 / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.771e-05/0.5219, allocations: 61.59 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.522, allocations: 4 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.522, allocations: 4 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.522, allocations: 0 / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.5221, allocations: 24.17 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5221, allocations: 0 / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.5221, allocations: 8 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5221, allocations: 4 kB / 0.5931 GB, free: 11.53 MB / 410.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 6.043e-05/0.5222, allocations: 108.9 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.5222, allocations: 7.906 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.5224, allocations: 73.75 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5224, allocations: 4 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.5224, allocations: 0 / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5224, allocations: 4 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.5227, allocations: 334.5 kB / 0.5936 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5227, allocations: 0 / 0.5936 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.5228, allocations: 15.98 kB / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5228, allocations: 3.938 kB / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.5228, allocations: 4 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5228, allocations: 7.938 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5228, allocations: 0 / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.523, allocations: 163.3 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.523, allocations: 93 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.523, allocations: 0 / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.5231, allocations: 8 kB / 0.5939 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.5232, allocations: 7.984 kB / 0.5939 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.5232, allocations: 4 kB / 0.5939 GB, free: 10.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.5233, allocations: 125.5 kB / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5233, allocations: 0 / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.5235, allocations: 19.94 kB / 0.5941 GB, free: 10.46 MB / 410.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.0007446/0.5242, allocations: 361.8 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.5243, allocations: 31.94 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5243, allocations: 0 / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.5244, allocations: 24.11 kB / 0.5945 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.5246, allocations: 12.06 kB / 0.5945 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.5248, allocations: 129.9 kB / 0.5946 GB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.5251, allocations: 0.7004 MB / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.5251, allocations: 8.188 kB / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.5252, allocations: 19.42 kB / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5252, allocations: 0 / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of Templates: time 0.002989/0.5282, allocations: 1.075 MB / 0.5964 GB, free: 8.16 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches