Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 175.6 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.606/1.606, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008326/0.0008325, allocations: 93.52 kB / 271.3 MB, free: 8.234 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.3838/0.3838, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003908, allocations: 16 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.5201, allocations: 86.48 MB / 0.5644 GB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5204, allocations: 71.97 kB / 0.5645 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.531, allocations: 4.239 MB / 0.5686 GB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.531, allocations: 0 / 0.5686 GB, free: 11.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.531, allocations: 0 / 0.5686 GB, free: 11.1 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004651/0.5315, allocations: 410.6 kB / 0.569 GB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5315, allocations: 13.06 kB / 0.569 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.5316, allocations: 16.75 kB / 0.569 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.5318, allocations: 212 kB / 0.5692 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5319, allocations: 4.375 kB / 0.5692 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.5319, allocations: 4.375 kB / 0.5692 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.532, allocations: 62.17 kB / 0.5693 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5321, allocations: 4.094 kB / 0.5693 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5321, allocations: 7.938 kB / 0.5693 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5321, allocations: 0 / 0.5693 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.5322, allocations: 35.97 kB / 0.5693 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.5326, allocations: 321.2 kB / 0.5696 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.5328, allocations: 53.47 kB / 0.5697 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.5328, allocations: 20.98 kB / 0.5697 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.5329, allocations: 7.984 kB / 0.5697 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.5329, allocations: 33.41 kB / 0.5698 GB, free: 9.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.5329, allocations: 3.938 kB / 0.5698 GB, free: 9.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.5335, allocations: 197.2 kB / 0.5699 GB, free: 9.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.5336, allocations: 55.34 kB / 0.57 GB, free: 9.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.5338, allocations: 227.3 kB / 0.5702 GB, free: 9.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.5338, allocations: 29.7 kB / 0.5702 GB, free: 9.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.5339, allocations: 100.1 kB / 0.5703 GB, free: 9.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.534, allocations: 31.56 kB / 0.5704 GB, free: 9.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.534, allocations: 4 kB / 0.5704 GB, free: 9.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5341, allocations: 330.8 kB / 0.5707 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.5342, allocations: 27.98 kB / 0.5707 GB, free: 8.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.5343, allocations: 27.97 kB / 0.5707 GB, free: 8.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.5344, allocations: 69.7 kB / 0.5708 GB, free: 8.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5345, allocations: 0 / 0.5708 GB, free: 8.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002089/0.5347, allocations: 121.7 kB / 0.5709 GB, free: 8.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5347, allocations: 4 kB / 0.5709 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5347, allocations: 0 / 0.5709 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5347, allocations: 4 kB / 0.5709 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5348, allocations: 15.98 kB / 0.5709 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5349, allocations: 4 kB / 0.571 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.5349, allocations: 4 kB / 0.571 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.5349, allocations: 7.984 kB / 0.571 GB, free: 8.469 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 (8): * Single equations (assignments): 8 * 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.000109/0.535, allocations: 134.3 kB / 0.5711 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.5351, allocations: 11.81 kB / 0.5711 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.5353, allocations: 126.9 kB / 0.5712 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5354, allocations: 4 kB / 0.5712 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.5354, allocations: 7.922 kB / 0.5712 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5354, allocations: 4 kB / 0.5712 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.5359, allocations: 419.5 kB / 0.5716 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5359, allocations: 0 / 0.5716 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.536, allocations: 19.94 kB / 0.5717 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.536, allocations: 7.688 kB / 0.5717 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.536, allocations: 3.984 kB / 0.5717 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.536, allocations: 3.938 kB / 0.5717 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.536, allocations: 4 kB / 0.5717 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.5363, allocations: 203.3 kB / 0.5719 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.5364, allocations: 93 kB / 0.572 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.5364, allocations: 8 kB / 0.572 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.5365, allocations: 11.92 kB / 0.572 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.5365, allocations: 11.92 kB / 0.572 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.5365, allocations: 0 / 0.572 GB, free: 7.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.5367, allocations: 174.5 kB / 0.5722 GB, free: 7.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.396e-06/0.5367, allocations: 0 / 0.5722 GB, free: 7.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.5369, allocations: 31.94 kB / 0.5722 GB, free: 7.117 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 (8): * Single equations (assignments): 8 * 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.0009046/0.5379, allocations: 412.1 kB / 0.5726 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.5381, allocations: 71.94 kB / 0.5726 GB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5381, allocations: 0 / 0.5726 GB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.5382, allocations: 39.92 kB / 0.5727 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.5385, allocations: 19.98 kB / 0.5727 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.539, allocations: 292.6 kB / 0.573 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.5393, allocations: 0.7083 MB / 0.5737 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6e-05/0.5394, allocations: 12.97 kB / 0.5737 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.5394, allocations: 19.42 kB / 0.5737 GB, free: 5.602 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5394, allocations: 0 / 0.5737 GB, free: 5.602 MB / 394.7 MB Notification: Performance of Templates: time 0.00366/0.5431, allocations: 1.263 MB / 0.5749 GB, free: 4.348 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches