Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.521/1.521, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008541/0.0008543, allocations: 81.42 kB / 271.3 MB, free: 8.262 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.4036/0.4036, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004392, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5414, allocations: 87.46 MB / 0.5654 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5417, allocations: 71.97 kB / 0.5654 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01141/0.5531, allocations: 4.044 MB / 0.5694 GB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5532, allocations: 3.938 kB / 0.5694 GB, free: 10.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.5532, allocations: 4 kB / 0.5694 GB, free: 10.45 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.0006438/0.5539, allocations: 434.2 kB / 0.5698 GB, free: 9.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5539, allocations: 12.03 kB / 0.5698 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.554, allocations: 8.844 kB / 0.5698 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.5543, allocations: 203.6 kB / 0.57 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5543, allocations: 384 / 0.57 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.5543, allocations: 12.36 kB / 0.57 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.5547, allocations: 103.9 kB / 0.5701 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5547, allocations: 4.188 kB / 0.5701 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5547, allocations: 7.938 kB / 0.5701 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5547, allocations: 0 / 0.5701 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.555, allocations: 99.91 kB / 0.5702 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.5557, allocations: 352.6 kB / 0.5706 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.5559, allocations: 86.47 kB / 0.5707 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5561, allocations: 56.94 kB / 0.5707 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.5561, allocations: 3.984 kB / 0.5707 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5562, allocations: 42.5 kB / 0.5708 GB, free: 8.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5562, allocations: 0 / 0.5708 GB, free: 8.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001699/0.5579, allocations: 484.9 kB / 0.5712 GB, free: 8.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.558, allocations: 77.11 kB / 0.5713 GB, free: 8.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.5583, allocations: 153.8 kB / 0.5714 GB, free: 8.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5583, allocations: 25.7 kB / 0.5715 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.5585, allocations: 104.1 kB / 0.5716 GB, free: 8.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.5585, allocations: 23.7 kB / 0.5716 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.5586, allocations: 0 / 0.5716 GB, free: 8.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.5588, allocations: 327 kB / 0.5719 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.5591, allocations: 91.92 kB / 0.572 GB, free: 7.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.5595, allocations: 114.4 kB / 0.5721 GB, free: 7.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.56, allocations: 208.9 kB / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.56, allocations: 0 / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006561/0.5607, allocations: 233.4 kB / 0.5725 GB, free: 7.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.5607, allocations: 4 kB / 0.5725 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5608, allocations: 0 / 0.5725 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.5608, allocations: 5.172 kB / 0.5725 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.561, allocations: 47.97 kB / 0.5726 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.561, allocations: 0 / 0.5726 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.5612, allocations: 47.83 kB / 0.5726 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.5612, allocations: 7.938 kB / 0.5726 GB, free: 6.922 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.0001378/0.5614, allocations: 117.8 kB / 0.5727 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.5614, allocations: 7.906 kB / 0.5727 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.5622, allocations: 255 kB / 0.573 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5622, allocations: 0 / 0.573 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5622, allocations: 0 / 0.573 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5622, allocations: 3.938 kB / 0.573 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5632, allocations: 0.5304 MB / 0.5735 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5632, allocations: 4 kB / 0.5735 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.5634, allocations: 43.95 kB / 0.5736 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5634, allocations: 0 / 0.5736 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.5635, allocations: 11.88 kB / 0.5736 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5635, allocations: 0 / 0.5736 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5635, allocations: 12.31 kB / 0.5736 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.5642, allocations: 331.5 kB / 0.5739 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.5642, allocations: 96.91 kB / 0.574 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.5643, allocations: 7.938 kB / 0.574 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.5645, allocations: 35.97 kB / 0.574 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.5645, allocations: 11.98 kB / 0.574 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.5645, allocations: 4 kB / 0.574 GB, free: 5.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5647, allocations: 119.2 kB / 0.5742 GB, free: 5.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5647, allocations: 0 / 0.5742 GB, free: 5.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.565, allocations: 39.98 kB / 0.5742 GB, free: 5.207 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.001116/0.5661, allocations: 464 kB / 0.5746 GB, free: 4.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006644/0.5668, allocations: 203.8 kB / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5668, allocations: 0 / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.5671, allocations: 107.9 kB / 0.5749 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.5674, allocations: 19.98 kB / 0.575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.568, allocations: 243.3 kB / 0.5752 GB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.5683, allocations: 0.7004 MB / 0.5759 GB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.5684, allocations: 28.72 kB / 0.5759 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.5685, allocations: 15.42 kB / 0.5759 GB, free: 3.492 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5685, allocations: 0 / 0.5759 GB, free: 3.492 MB / 394.7 MB Notification: Performance of Templates: time 0.004885/0.5734, allocations: 1.847 MB / 0.5777 GB, free: 1.652 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches