Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.261/1.261, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 98.17 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3149/0.3149, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.335, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4503, allocations: 89.05 MB / 0.5965 GB, free: 6.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4506, allocations: 83.91 kB / 0.5966 GB, free: 6.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.4615, allocations: 4.146 MB / 0.6006 GB, free: 1.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4615, allocations: 0 / 0.6006 GB, free: 1.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4615, allocations: 0 / 0.6006 GB, free: 1.855 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005745/0.4621, allocations: 430.9 kB / 0.6011 GB, free: 1.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4622, allocations: 8.562 kB / 0.6011 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.4622, allocations: 11.91 kB / 0.6011 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.4625, allocations: 199.4 kB / 0.6013 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4625, allocations: 7.953 kB / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.4625, allocations: 7.938 kB / 0.6013 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4628, allocations: 103.4 kB / 0.6014 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4628, allocations: 0 / 0.6014 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4629, allocations: 7.938 kB / 0.6014 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4629, allocations: 3.984 kB / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.4632, allocations: 95.91 kB / 0.6015 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.4638, allocations: 360.5 kB / 0.6018 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.464, allocations: 86.53 kB / 0.6019 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4641, allocations: 0 / 0.6019 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4641, allocations: 34.62 kB / 0.6019 GB, free: 364 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.4641, allocations: 4 kB / 0.6019 GB, free: 360 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001676/0.4658, allocations: 0.4931 MB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.4659, allocations: 85.09 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.466, allocations: 145.1 kB / 0.6026 GB, free: 15.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.466, allocations: 25.7 kB / 0.6027 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.4661, allocations: 100.3 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4661, allocations: 27.56 kB / 0.6028 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.4661, allocations: 0 / 0.6028 GB, free: 15.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4663, allocations: 330.8 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.4666, allocations: 99.91 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.4669, allocations: 117.6 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.4672, allocations: 107.9 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4672, allocations: 0 / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006158/0.4678, allocations: 253.6 kB / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4678, allocations: 9.562 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4678, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.4678, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.4681, allocations: 51.95 kB / 0.6037 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4681, allocations: 0 / 0.6037 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4682, allocations: 31.97 kB / 0.6037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4682, allocations: 11.98 kB / 0.6038 GB, free: 14.43 MB / 426.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 (10): * Single equations (assignments): 10 * 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.949e-05/0.4684, allocations: 124.2 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.4684, allocations: 15.81 kB / 0.6039 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/0.4691, allocations: 262.2 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4691, allocations: 4 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4691, allocations: 0 / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4691, allocations: 0 / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.4701, allocations: 0.5571 MB / 0.6047 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4701, allocations: 0 / 0.6047 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.4703, allocations: 55.95 kB / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4703, allocations: 0 / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4703, allocations: 0 / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4703, allocations: 0 / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4703, allocations: 0 / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.471, allocations: 359.1 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.471, allocations: 85.39 kB / 0.6052 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.4711, allocations: 4 kB / 0.6052 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4712, allocations: 35.95 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.4713, allocations: 11.98 kB / 0.6052 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.4713, allocations: 11.94 kB / 0.6052 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.4714, allocations: 119.8 kB / 0.6053 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4714, allocations: 0 / 0.6053 GB, free: 12.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.4717, allocations: 39.94 kB / 0.6054 GB, free: 12.66 MB / 426.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 (9): * Single equations (assignments): 9 * 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.001001/0.4727, allocations: 467.5 kB / 0.6058 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.4734, allocations: 211.8 kB / 0.606 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4734, allocations: 7.938 kB / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.4737, allocations: 103.9 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.4739, allocations: 15.98 kB / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.4744, allocations: 249.1 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.4746, allocations: 0.7083 MB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.4748, allocations: 32.52 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.4748, allocations: 23.42 kB / 0.6071 GB, free: 10.98 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4748, allocations: 0 / 0.6071 GB, free: 10.98 MB / 426.7 MB Notification: Performance of Templates: time 0.004176/0.479, allocations: 1.931 MB / 0.609 GB, free: 9.07 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches