Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, 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.001049/0.001049, 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.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.2353/0.2353, allocations: 44.19 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4259, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003164/0.4292, allocations: 1.665 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.43, allocations: 452.6 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.4301, allocations: 0 / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.4303, allocations: 24.02 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.4305, allocations: 40.48 kB / 0.521 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.4309, allocations: 134.7 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.431, allocations: 91.33 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.4311, allocations: 19.75 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.4312, allocations: 32.86 kB / 0.5213 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.4313, allocations: 38.14 kB / 0.5213 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4313, allocations: 5.438 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.4315, allocations: 54.11 kB / 0.5214 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.4315, allocations: 25.66 kB / 0.5214 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.4316, allocations: 28.77 kB / 0.5215 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.4318, allocations: 124.7 kB / 0.5216 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4318, allocations: 4.594 kB / 0.5216 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4318, allocations: 1.188 kB / 0.5216 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4319, allocations: 0 / 0.5216 GB, free: 1.871 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.0006192/0.4325, allocations: 409.2 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4325, allocations: 9.281 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.4326, allocations: 8.312 kB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4328, allocations: 189.3 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4328, allocations: 5.375 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.4328, allocations: 2.781 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.4331, allocations: 97.67 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4331, allocations: 0 / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4332, allocations: 1.156 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4332, allocations: 1.781 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.4335, allocations: 73.06 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.4339, allocations: 316.2 kB / 0.5226 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4342, allocations: 69.41 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.4344, allocations: 45.55 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.4344, allocations: 1.969 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4344, allocations: 31.91 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.4345, allocations: 0 / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001656/0.4361, allocations: 375.4 kB / 0.5231 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.4362, allocations: 79.95 kB / 0.5232 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4363, allocations: 149.3 kB / 0.5234 GB, free: 480 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4363, allocations: 26.73 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.4364, allocations: 105.3 kB / 0.5235 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.4364, allocations: 30.16 kB / 0.5235 GB, free: 320 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.4365, allocations: 30.09 kB / 0.5235 GB, free: 292 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.4366, allocations: 319.9 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.4369, allocations: 66.42 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.4372, allocations: 92.77 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.4378, allocations: 151.6 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4378, allocations: 5.125 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006599/0.4385, allocations: 187.7 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4385, allocations: 6 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4385, allocations: 1.812 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4385, allocations: 4 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.4388, allocations: 41.53 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4388, allocations: 0 / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.4389, allocations: 27.48 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.439, allocations: 2.844 kB / 0.5244 GB, free: 15.81 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 9.677e-05/0.4391, allocations: 120.5 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4391, allocations: 12.73 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.4398, allocations: 197 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4398, allocations: 1.25 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4398, allocations: 5.625 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4398, allocations: 5.062 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.4408, allocations: 496.8 kB / 0.5252 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4408, allocations: 4 kB / 0.5252 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.441, allocations: 34.61 kB / 0.5252 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.441, allocations: 9.078 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4411, allocations: 6.094 kB / 0.5253 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4411, allocations: 1.125 kB / 0.5253 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4411, allocations: 0 / 0.5253 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.4418, allocations: 282.1 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.4419, allocations: 88.3 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.4419, allocations: 6.078 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4421, allocations: 30.38 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.4422, allocations: 12.03 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4422, allocations: 3.562 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.4424, allocations: 107.7 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4424, allocations: 0 / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.4427, allocations: 33.02 kB / 0.5258 GB, free: 14.85 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.001133/0.4438, allocations: 446.6 kB / 0.5262 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.4446, allocations: 158.4 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4446, allocations: 0 / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.4449, allocations: 86.05 kB / 0.5265 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4453, allocations: 25.03 kB / 0.5265 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.4459, allocations: 209.2 kB / 0.5267 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4462, allocations: 0.702 MB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.4464, allocations: 23.23 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.4464, allocations: 19.67 kB / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4464, allocations: 0 / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of Templates: time 0.005373/0.4518, allocations: 2.108 MB / 0.5295 GB, free: 12.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches