Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.002601/0.002602, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.559/1.559, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.318/0.318, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4329, allocations: 60.82 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002745/0.4357, allocations: 1.63 MB / 0.5205 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.4364, allocations: 434.9 kB / 0.5209 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.4364, allocations: 1.062 kB / 0.5209 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006251/0.4371, allocations: 448.8 kB / 0.5214 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.4375, allocations: 254 kB / 0.5216 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.4378, allocations: 132.4 kB / 0.5217 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.4381, allocations: 165 kB / 0.5219 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4382, allocations: 19.3 kB / 0.5219 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.4384, allocations: 108.1 kB / 0.522 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.4386, allocations: 211.1 kB / 0.5222 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.4386, allocations: 2.906 kB / 0.5222 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.4388, allocations: 50.75 kB / 0.5223 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.4389, allocations: 85.5 kB / 0.5223 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.439, allocations: 104.7 kB / 0.5224 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.4393, allocations: 262.9 kB / 0.5227 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4394, allocations: 1 kB / 0.5227 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4394, allocations: 4 kB / 0.5227 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.4394, allocations: 0 / 0.5227 GB, free: 2.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005913/0.44, allocations: 0.6393 MB / 0.5233 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.44, allocations: 9.156 kB / 0.5233 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.4401, allocations: 46.44 kB / 0.5234 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4403, allocations: 289.9 kB / 0.5237 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4403, allocations: 2.094 kB / 0.5237 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4403, allocations: 6 kB / 0.5237 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4405, allocations: 63.56 kB / 0.5237 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4405, allocations: 5.594 kB / 0.5237 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4405, allocations: 1.125 kB / 0.5237 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4405, allocations: 5.594 kB / 0.5237 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4406, allocations: 29.66 kB / 0.5238 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.4411, allocations: 398.1 kB / 0.5241 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.4412, allocations: 52.11 kB / 0.5242 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.4413, allocations: 20.25 kB / 0.5242 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4413, allocations: 0 / 0.5242 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.4413, allocations: 33.69 kB / 0.5242 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4413, allocations: 0 / 0.5242 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009224/0.4423, allocations: 304 kB / 0.5245 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.4423, allocations: 55.34 kB / 0.5246 GB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/0.4431, allocations: 0.8569 MB / 0.5254 GB, free: 104 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4431, allocations: 25.7 kB / 0.5255 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4433, allocations: 218.8 kB / 0.5257 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.4434, allocations: 30.08 kB / 0.5257 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.4434, allocations: 23.75 kB / 0.5257 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4436, allocations: 368 kB / 0.5261 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.4437, allocations: 25.17 kB / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.4438, allocations: 30.72 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4439, allocations: 61.45 kB / 0.5262 GB, free: 15.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4439, allocations: 0 / 0.5262 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002412/0.4442, allocations: 129.1 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4442, allocations: 4.969 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.4442, allocations: 4.953 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4442, allocations: 1.594 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4444, allocations: 17.28 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4444, allocations: 3.938 kB / 0.5263 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.4444, allocations: 12.3 kB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4445, allocations: 1.094 kB / 0.5263 GB, free: 15.32 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 (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 0.0002153/0.4447, allocations: 214.5 kB / 0.5265 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.4447, allocations: 46.48 kB / 0.5266 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.4451, allocations: 151.6 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4451, allocations: 1.375 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4451, allocations: 7.875 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4451, allocations: 0 / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.4458, allocations: 0.5014 MB / 0.5272 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.4458, allocations: 5.344 kB / 0.5272 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.4459, allocations: 18.45 kB / 0.5273 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4459, allocations: 0 / 0.5273 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4459, allocations: 1.625 kB / 0.5273 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4459, allocations: 5.156 kB / 0.5273 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4459, allocations: 0 / 0.5273 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.4462, allocations: 250.6 kB / 0.5275 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.4463, allocations: 110.6 kB / 0.5276 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.4463, allocations: 5.438 kB / 0.5276 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.4464, allocations: 7.141 kB / 0.5276 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.4465, allocations: 3.75 kB / 0.5276 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4465, allocations: 2.812 kB / 0.5276 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008666/0.4474, allocations: 0.6497 MB / 0.5283 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4474, allocations: 0 / 0.5283 GB, free: 13.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.4477, allocations: 29.95 kB / 0.5283 GB, free: 13.94 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.001148/0.4488, allocations: 449.3 kB / 0.5287 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.4491, allocations: 69.98 kB / 0.5288 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4491, allocations: 0 / 0.5288 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.4492, allocations: 35 kB / 0.5288 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4496, allocations: 35.22 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4509, allocations: 0.8117 MB / 0.5296 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.4514, allocations: 0.8337 MB / 0.5305 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.4515, allocations: 16.11 kB / 0.5305 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.4515, allocations: 12.72 kB / 0.5305 GB, free: 12.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4515, allocations: 1.344 kB / 0.5305 GB, free: 12.43 MB / 398.1 MB Notification: Performance of Templates: time 0.005438/0.457, allocations: 1.715 MB / 0.5322 GB, free: 11.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches