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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 113.8 kB / 17.78 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 183.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.436, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003275/0.4393, allocations: 1.669 MB / 0.5205 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.4402, allocations: 475.2 kB / 0.521 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.4403, allocations: 1.219 kB / 0.521 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.4405, allocations: 24.5 kB / 0.521 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.4408, allocations: 44.66 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.4413, allocations: 185.8 kB / 0.5212 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.4415, allocations: 88.67 kB / 0.5213 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4416, allocations: 16.14 kB / 0.5213 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.4417, allocations: 37.3 kB / 0.5214 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.4417, allocations: 44.11 kB / 0.5214 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.4418, allocations: 5.688 kB / 0.5214 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4419, allocations: 49.92 kB / 0.5215 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.442, allocations: 31.06 kB / 0.5215 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.442, allocations: 29.95 kB / 0.5215 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.4423, allocations: 122.3 kB / 0.5217 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4423, allocations: 1 kB / 0.5217 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4423, allocations: 0 / 0.5217 GB, free: 1.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.4423, allocations: 0 / 0.5217 GB, free: 1.824 MB / 382.1 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.0005787/0.4429, allocations: 414.7 kB / 0.522 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.443, allocations: 8.969 kB / 0.5221 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.443, allocations: 13.88 kB / 0.5221 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4432, allocations: 190.1 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4432, allocations: 1.656 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.4433, allocations: 3.203 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.4436, allocations: 100.2 kB / 0.5224 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4436, allocations: 3.906 kB / 0.5224 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4436, allocations: 1.469 kB / 0.5224 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4436, allocations: 7.938 kB / 0.5224 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.4439, allocations: 74.11 kB / 0.5224 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.4446, allocations: 334.3 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.4448, allocations: 82.52 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.445, allocations: 47.97 kB / 0.5229 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.4451, allocations: 2.281 kB / 0.5229 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4451, allocations: 36.09 kB / 0.5229 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.4451, allocations: 0 / 0.5229 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001746/0.4469, allocations: 404.8 kB / 0.5233 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4469, allocations: 78.3 kB / 0.5234 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4471, allocations: 151.1 kB / 0.5235 GB, free: 416 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.4471, allocations: 27.36 kB / 0.5235 GB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4471, allocations: 97.47 kB / 0.5236 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.4472, allocations: 34.36 kB / 0.5237 GB, free: 260 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.4472, allocations: 27.42 kB / 0.5237 GB, free: 236 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.4473, allocations: 324.1 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.4477, allocations: 81.77 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.448, allocations: 95.7 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.4486, allocations: 169.6 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4486, allocations: 1.125 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007158/0.4493, allocations: 213.8 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4494, allocations: 4.219 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4494, allocations: 1.062 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4494, allocations: 0.7031 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.4496, allocations: 41.23 kB / 0.5246 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4497, allocations: 1.281 kB / 0.5246 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.4498, allocations: 34.06 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4499, allocations: 2.719 kB / 0.5246 GB, free: 15.73 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.45, allocations: 123.8 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.45, allocations: 7.969 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.4508, allocations: 224 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4508, allocations: 384 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4508, allocations: 1.281 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4508, allocations: 5.062 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.4519, allocations: 0.5092 MB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4519, allocations: 0 / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4521, allocations: 39.98 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4521, allocations: 5.062 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4521, allocations: 4 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4521, allocations: 5.844 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4521, allocations: 0 / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.4528, allocations: 299 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.4529, allocations: 91.84 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.453, allocations: 0.7031 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.4531, allocations: 27.22 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.4532, allocations: 12.48 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4532, allocations: 1.5 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.4533, allocations: 113.4 kB / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4533, allocations: 0 / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.4536, allocations: 36.59 kB / 0.5261 GB, free: 14.75 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.4547, allocations: 449 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.4554, allocations: 181.3 kB / 0.5267 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4554, allocations: 1.375 kB / 0.5267 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.4557, allocations: 93.36 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.4561, allocations: 23.84 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.4566, allocations: 239.9 kB / 0.527 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4569, allocations: 0.7047 MB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.457, allocations: 27.53 kB / 0.5277 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.4571, allocations: 19.67 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4571, allocations: 0 / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.005344/0.4625, allocations: 2.19 MB / 0.5299 GB, free: 12.36 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches