Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 176 kB / 16.76 MB, free: 4.93 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.646/1.646, allocations: 205.4 MB / 222.9 MB, free: 8.922 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.0008949/0.000895, allocations: 104.7 kB / 271.3 MB, free: 8.211 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.3716/0.3716, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 15.98 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.5069, allocations: 86.53 MB / 0.5644 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.5072, allocations: 75.95 kB / 0.5645 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009899/0.5171, allocations: 3.863 MB / 0.5683 GB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5171, allocations: 0 / 0.5683 GB, free: 11.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5171, allocations: 3.844 kB / 0.5683 GB, free: 11.56 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.0004329/0.5176, allocations: 403.8 kB / 0.5687 GB, free: 11.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5176, allocations: 8.031 kB / 0.5687 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.5176, allocations: 12.75 kB / 0.5687 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.5179, allocations: 216 kB / 0.5689 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.5179, allocations: 384 / 0.5689 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.5179, allocations: 4.375 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.5181, allocations: 50.25 kB / 0.569 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5181, allocations: 192 / 0.569 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5181, allocations: 7.5 kB / 0.569 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.5181, allocations: 0 / 0.569 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.5182, allocations: 31.98 kB / 0.569 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.5186, allocations: 288.9 kB / 0.5693 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.5188, allocations: 46.5 kB / 0.5693 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.5189, allocations: 20.94 kB / 0.5693 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5189, allocations: 8 kB / 0.5693 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5189, allocations: 30.56 kB / 0.5694 GB, free: 10.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5189, allocations: 0 / 0.5694 GB, free: 10.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005743/0.5195, allocations: 169.4 kB / 0.5695 GB, free: 10.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5196, allocations: 55.41 kB / 0.5696 GB, free: 10.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.5198, allocations: 183.2 kB / 0.5698 GB, free: 9.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.5198, allocations: 29.7 kB / 0.5698 GB, free: 9.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.5198, allocations: 100.1 kB / 0.5699 GB, free: 9.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.5199, allocations: 15.75 kB / 0.5699 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.5199, allocations: 4 kB / 0.5699 GB, free: 9.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.52, allocations: 322.8 kB / 0.5702 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.5201, allocations: 27.92 kB / 0.5702 GB, free: 9.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.5202, allocations: 27.92 kB / 0.5703 GB, free: 9.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.5204, allocations: 64.83 kB / 0.5703 GB, free: 9.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.5204, allocations: 0 / 0.5703 GB, free: 9.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001963/0.5206, allocations: 93.56 kB / 0.5704 GB, free: 9.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5206, allocations: 8 kB / 0.5704 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5206, allocations: 0 / 0.5704 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5206, allocations: 288 / 0.5704 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.5207, allocations: 15.98 kB / 0.5704 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5207, allocations: 4 kB / 0.5704 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.5208, allocations: 4 kB / 0.5704 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.5208, allocations: 3.938 kB / 0.5705 GB, free: 9.137 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 9.826e-05/0.5209, allocations: 137.8 kB / 0.5706 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.5209, allocations: 19.8 kB / 0.5706 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.5211, allocations: 102 kB / 0.5707 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5212, allocations: 7.5 kB / 0.5707 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5212, allocations: 0 / 0.5707 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5212, allocations: 0 / 0.5707 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.5216, allocations: 386.4 kB / 0.5711 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5216, allocations: 0 / 0.5711 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.5217, allocations: 12 kB / 0.5711 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.5217, allocations: 0 / 0.5711 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5217, allocations: 7.984 kB / 0.5711 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5217, allocations: 7.938 kB / 0.5711 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5217, allocations: 0 / 0.5711 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.522, allocations: 187.3 kB / 0.5713 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.522, allocations: 97 kB / 0.5714 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.5221, allocations: 4 kB / 0.5714 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.5221, allocations: 8.797 kB / 0.5714 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5222, allocations: 7.938 kB / 0.5714 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.5222, allocations: 0 / 0.5714 GB, free: 8.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.5223, allocations: 152.3 kB / 0.5715 GB, free: 7.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5224, allocations: 0 / 0.5715 GB, free: 7.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.5226, allocations: 20 kB / 0.5716 GB, free: 7.906 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.0008777/0.5235, allocations: 407.4 kB / 0.5719 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.5237, allocations: 59.91 kB / 0.572 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5237, allocations: 0 / 0.572 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.5238, allocations: 43.91 kB / 0.572 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.524, allocations: 9.219 kB / 0.5721 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.5245, allocations: 243.1 kB / 0.5723 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.5248, allocations: 0.7043 MB / 0.573 GB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.5248, allocations: 15.97 kB / 0.573 GB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.5249, allocations: 15.44 kB / 0.573 GB, free: 6.469 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5249, allocations: 0 / 0.573 GB, free: 6.469 MB / 394.7 MB Notification: Performance of Templates: time 0.003291/0.5282, allocations: 1.134 MB / 0.5741 GB, free: 5.34 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches