Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001292/0.001293, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2258/0.2258, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4373, allocations: 60.82 MB / 0.5189 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003557/0.4409, allocations: 1.592 MB / 0.5205 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.4417, allocations: 393.3 kB / 0.5209 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.4418, allocations: 5.031 kB / 0.5209 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.4422, allocations: 73.12 kB / 0.5209 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.4425, allocations: 64.89 kB / 0.521 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.4429, allocations: 89.86 kB / 0.5211 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.4432, allocations: 72.11 kB / 0.5211 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4433, allocations: 13.31 kB / 0.5212 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.4434, allocations: 36.83 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.4435, allocations: 43.28 kB / 0.5212 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.4436, allocations: 7.125 kB / 0.5212 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4437, allocations: 46.59 kB / 0.5213 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.4438, allocations: 14.28 kB / 0.5213 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.4439, allocations: 30.02 kB / 0.5213 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.4441, allocations: 98.5 kB / 0.5214 GB, free: 2.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4441, allocations: 0 / 0.5214 GB, free: 2.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4441, allocations: 0 / 0.5214 GB, free: 2.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4442, allocations: 0 / 0.5214 GB, free: 2.289 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.0005594/0.4447, allocations: 404.3 kB / 0.5218 GB, free: 1.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4448, allocations: 9.875 kB / 0.5218 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.4449, allocations: 13.69 kB / 0.5218 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.4451, allocations: 196.9 kB / 0.522 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4451, allocations: 1.531 kB / 0.522 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.4451, allocations: 2.656 kB / 0.522 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.4453, allocations: 65.31 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4453, allocations: 0 / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4453, allocations: 1.094 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4454, allocations: 1.125 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4455, allocations: 24.91 kB / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.4459, allocations: 287.8 kB / 0.5224 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.446, allocations: 47.84 kB / 0.5224 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4461, allocations: 18.81 kB / 0.5225 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4461, allocations: 1.547 kB / 0.5225 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4462, allocations: 32.05 kB / 0.5225 GB, free: 1.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4462, allocations: 4 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.4472, allocations: 214 kB / 0.5227 GB, free: 1.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4472, allocations: 53.5 kB / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4474, allocations: 197.7 kB / 0.5229 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.4475, allocations: 31.52 kB / 0.523 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.4475, allocations: 104 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.4475, allocations: 24.39 kB / 0.5231 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.4476, allocations: 21.64 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4477, allocations: 325.8 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4478, allocations: 22.11 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.4478, allocations: 27.16 kB / 0.5235 GB, free: 460 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.448, allocations: 66.77 kB / 0.5235 GB, free: 428 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.448, allocations: 0 / 0.5235 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002131/0.4482, allocations: 100.5 kB / 0.5236 GB, free: 372 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4482, allocations: 6.703 kB / 0.5236 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4483, allocations: 96 / 0.5236 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4483, allocations: 5.328 kB / 0.5236 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4484, allocations: 21.16 kB / 0.5237 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4484, allocations: 7.938 kB / 0.5237 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.4485, allocations: 9.062 kB / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4485, allocations: 2.938 kB / 0.5237 GB, free: 352 kB / 382.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 (8): * Single equations (assignments): 8 * 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 7.787e-05/0.4486, allocations: 121.5 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.4486, allocations: 12.78 kB / 0.5238 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.4489, allocations: 113.6 kB / 0.5239 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4489, allocations: 5.469 kB / 0.5239 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4489, allocations: 8.594 kB / 0.5239 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4489, allocations: 8.672 kB / 0.5239 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.4494, allocations: 399 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4494, allocations: 0 / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.4495, allocations: 20.39 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.4495, allocations: 1.094 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4495, allocations: 1.938 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.4496, allocations: 5.25 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4496, allocations: 1.031 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.4498, allocations: 206.2 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.4499, allocations: 88.28 kB / 0.5246 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4499, allocations: 2.031 kB / 0.5246 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.45, allocations: 9.734 kB / 0.5246 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.45, allocations: 6.5 kB / 0.5246 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4501, allocations: 5.375 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4502, allocations: 147.9 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4502, allocations: 0 / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.4505, allocations: 22.64 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001162/0.4517, allocations: 462.4 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.452, allocations: 64.56 kB / 0.5253 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.452, allocations: 0 / 0.5253 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4521, allocations: 34.16 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.4525, allocations: 33.47 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.453, allocations: 236.6 kB / 0.5256 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4534, allocations: 0.7026 MB / 0.5263 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.4535, allocations: 12.31 kB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.4535, allocations: 18.56 kB / 0.5263 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4535, allocations: 0 / 0.5263 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004972/0.4585, allocations: 1.331 MB / 0.5276 GB, free: 13.87 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches