Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 184.1 kB / 15.76 MB, free: 6.367 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.709/1.709, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008688/0.0008689, allocations: 98.83 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2404/0.2404, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 11.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.579, allocations: 86.39 MB / 0.5631 GB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5793, allocations: 71.09 kB / 0.5632 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009662/0.589, allocations: 3.941 MB / 0.567 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.589, allocations: 0 / 0.567 GB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.589, allocations: 0 / 0.567 GB, free: 10.02 MB / 378.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.0003934/0.5894, allocations: 402.2 kB / 0.5674 GB, free: 9.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5895, allocations: 12.02 kB / 0.5674 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.5895, allocations: 7.906 kB / 0.5674 GB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.5897, allocations: 202.6 kB / 0.5676 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5898, allocations: 7.25 kB / 0.5676 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.5898, allocations: 4 kB / 0.5676 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5899, allocations: 45.06 kB / 0.5677 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.5899, allocations: 0 / 0.5677 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.59, allocations: 3.125 kB / 0.5677 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.59, allocations: 3.984 kB / 0.5677 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.5901, allocations: 27.8 kB / 0.5677 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.5904, allocations: 294.6 kB / 0.568 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.5906, allocations: 39.94 kB / 0.568 GB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.5907, allocations: 4 kB / 0.568 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5907, allocations: 34.5 kB / 0.5681 GB, free: 8.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5907, allocations: 4 kB / 0.5681 GB, free: 8.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005169/0.5912, allocations: 157.3 kB / 0.5682 GB, free: 8.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.5913, allocations: 63.33 kB / 0.5683 GB, free: 8.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.5915, allocations: 185.3 kB / 0.5685 GB, free: 8.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5915, allocations: 25.7 kB / 0.5685 GB, free: 8.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.5915, allocations: 103.4 kB / 0.5686 GB, free: 8.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.5916, allocations: 15.75 kB / 0.5686 GB, free: 8.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5916, allocations: 3.25 kB / 0.5686 GB, free: 8.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5917, allocations: 322.4 kB / 0.5689 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.5918, allocations: 26.8 kB / 0.5689 GB, free: 7.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.5918, allocations: 22.98 kB / 0.569 GB, free: 7.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.5919, allocations: 25.86 kB / 0.569 GB, free: 7.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5919, allocations: 0 / 0.569 GB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001726/0.5921, allocations: 87.14 kB / 0.5691 GB, free: 7.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5921, allocations: 11.98 kB / 0.5691 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5921, allocations: 0 / 0.5691 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5921, allocations: 288 / 0.5691 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.5922, allocations: 15.94 kB / 0.5691 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5922, allocations: 0 / 0.5691 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.5923, allocations: 11.98 kB / 0.5691 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5923, allocations: 7.953 kB / 0.5691 GB, free: 7.801 MB / 378.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 8.661e-05/0.5924, allocations: 124.3 kB / 0.5692 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.5924, allocations: 19.78 kB / 0.5692 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.5926, allocations: 101.2 kB / 0.5693 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5927, allocations: 4 kB / 0.5693 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5927, allocations: 0 / 0.5693 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5927, allocations: 0 / 0.5693 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.5931, allocations: 366.3 kB / 0.5697 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5931, allocations: 8.359 kB / 0.5697 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.5932, allocations: 12 kB / 0.5697 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5932, allocations: 4 kB / 0.5697 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5932, allocations: 4 kB / 0.5697 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5932, allocations: 0 / 0.5697 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5932, allocations: 0 / 0.5697 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.5934, allocations: 201.5 kB / 0.5699 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.5935, allocations: 89.02 kB / 0.57 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.5935, allocations: 7.297 kB / 0.57 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.5936, allocations: 4 kB / 0.57 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.5936, allocations: 4 kB / 0.57 GB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.5937, allocations: 3.984 kB / 0.57 GB, free: 6.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.5938, allocations: 156.6 kB / 0.5702 GB, free: 6.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5938, allocations: 4 kB / 0.5702 GB, free: 6.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.594, allocations: 15.31 kB / 0.5702 GB, free: 6.676 MB / 378.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.0008863/0.5949, allocations: 412.4 kB / 0.5706 GB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.5951, allocations: 61.28 kB / 0.5706 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5952, allocations: 0 / 0.5706 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.167e-05/0.5952, allocations: 27.8 kB / 0.5707 GB, free: 6.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.5955, allocations: 19.25 kB / 0.5707 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.5959, allocations: 234.5 kB / 0.5709 GB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5962, allocations: 0.7082 MB / 0.5716 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.308e-05/0.5962, allocations: 4.188 kB / 0.5716 GB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.5963, allocations: 22.05 kB / 0.5716 GB, free: 5.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5963, allocations: 0 / 0.5716 GB, free: 5.23 MB / 378.7 MB Notification: Performance of Templates: time 0.003337/0.5996, allocations: 1.152 MB / 0.5727 GB, free: 4.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches