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.001293/0.001293, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001312/0.001312, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.377/1.377, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2146/0.2146, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4119, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003258/0.4152, allocations: 1.667 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.4162, allocations: 479.9 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.4163, allocations: 1.188 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.4165, allocations: 31.62 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.4167, allocations: 37.12 kB / 0.5217 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.4172, allocations: 185.1 kB / 0.5219 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.4174, allocations: 87.42 kB / 0.522 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4176, allocations: 22.12 kB / 0.522 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.4176, allocations: 36.59 kB / 0.522 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.4177, allocations: 40.14 kB / 0.5221 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.4178, allocations: 5.375 kB / 0.5221 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.4179, allocations: 55.09 kB / 0.5221 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.418, allocations: 21.95 kB / 0.5222 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.418, allocations: 37.47 kB / 0.5222 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.4183, allocations: 119 kB / 0.5223 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4183, allocations: 4.688 kB / 0.5223 GB, free: 1.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4183, allocations: 0 / 0.5223 GB, free: 1.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4183, allocations: 1.656 kB / 0.5223 GB, free: 1.832 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.0006004/0.419, allocations: 409.4 kB / 0.5227 GB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.419, allocations: 9.25 kB / 0.5227 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.4191, allocations: 13.47 kB / 0.5227 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.4192, allocations: 190 kB / 0.5229 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4193, allocations: 5.906 kB / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.4193, allocations: 3.438 kB / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.4196, allocations: 99.62 kB / 0.523 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4196, allocations: 3.906 kB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4197, allocations: 1 kB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4197, allocations: 9.453 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.42, allocations: 69.19 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.4207, allocations: 339.1 kB / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.421, allocations: 80.78 kB / 0.5235 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.4212, allocations: 48.98 kB / 0.5235 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4212, allocations: 2.047 kB / 0.5235 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4212, allocations: 36 kB / 0.5236 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4212, allocations: 0 / 0.5236 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001764/0.423, allocations: 404.4 kB / 0.524 GB, free: 0.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.4231, allocations: 79.25 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4232, allocations: 150.8 kB / 0.5242 GB, free: 424 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4232, allocations: 30.73 kB / 0.5242 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.4233, allocations: 102.5 kB / 0.5243 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.4233, allocations: 29.92 kB / 0.5243 GB, free: 264 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.4234, allocations: 23.22 kB / 0.5244 GB, free: 244 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4235, allocations: 320.9 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.4239, allocations: 80.05 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.4242, allocations: 95.75 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.4248, allocations: 170.2 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4248, allocations: 384 / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007151/0.4256, allocations: 213.5 kB / 0.5252 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4256, allocations: 6.531 kB / 0.5252 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4256, allocations: 0 / 0.5252 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4256, allocations: 1.531 kB / 0.5252 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4259, allocations: 45.38 kB / 0.5253 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4259, allocations: 0 / 0.5253 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.4261, allocations: 35.94 kB / 0.5253 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4261, allocations: 1.781 kB / 0.5253 GB, free: 15.74 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.0001147/0.4262, allocations: 122.8 kB / 0.5254 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.4262, allocations: 12.23 kB / 0.5254 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.427, allocations: 223.3 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.427, allocations: 2.141 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.427, allocations: 0 / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.427, allocations: 4.547 kB / 0.5256 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4281, allocations: 0.5102 MB / 0.5261 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4281, allocations: 0 / 0.5261 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.4283, allocations: 39.42 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4283, allocations: 5.312 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4283, allocations: 0.7969 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4283, allocations: 1.375 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4283, allocations: 4 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.4291, allocations: 302.5 kB / 0.5265 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4291, allocations: 88.44 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4292, allocations: 1.344 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.4294, allocations: 22.44 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.4294, allocations: 15.62 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4294, allocations: 3.703 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.4296, allocations: 112.2 kB / 0.5267 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4296, allocations: 0 / 0.5267 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.4299, allocations: 38.16 kB / 0.5267 GB, free: 14.77 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.001115/0.431, allocations: 451.3 kB / 0.5272 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.4317, allocations: 177.6 kB / 0.5273 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.4317, allocations: 0 / 0.5273 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.4321, allocations: 94.19 kB / 0.5274 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4325, allocations: 22.92 kB / 0.5275 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.4331, allocations: 260.1 kB / 0.5277 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4334, allocations: 0.6954 MB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.4335, allocations: 27.77 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4335, allocations: 0 / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.004694/0.4382, allocations: 2.254 MB / 0.5306 GB, free: 12.32 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/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