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.001227/0.001227, allocations: 117.2 kB / 17.79 MB, free: 5.262 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.001359/0.001359, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2276/0.2276, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4373, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003385/0.4408, allocations: 1.648 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.4416, allocations: 422.9 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.4416, allocations: 1.219 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.4426, allocations: 450.7 kB / 0.5214 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.4432, allocations: 256.2 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.4438, allocations: 131.9 kB / 0.5217 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.4441, allocations: 165.7 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.4443, allocations: 23.56 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.4445, allocations: 108.2 kB / 0.522 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.4448, allocations: 206.1 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4449, allocations: 7.562 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.445, allocations: 48.16 kB / 0.5223 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.4452, allocations: 88.77 kB / 0.5224 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4453, allocations: 103.6 kB / 0.5225 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.4458, allocations: 260.2 kB / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4458, allocations: 0 / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4458, allocations: 0.7969 kB / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.4458, allocations: 0 / 0.5227 GB, free: 1.77 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.0008183/0.4466, allocations: 0.6427 MB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.4467, allocations: 9.094 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.4468, allocations: 46.44 kB / 0.5234 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.4471, allocations: 290.2 kB / 0.5237 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4471, allocations: 6.188 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.4471, allocations: 2.156 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4474, allocations: 58.83 kB / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4474, allocations: 5.844 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4474, allocations: 0.5625 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4474, allocations: 2.281 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.4475, allocations: 36.47 kB / 0.5238 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.4482, allocations: 392.8 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.4483, allocations: 47.36 kB / 0.5242 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.4484, allocations: 17.89 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.4485, allocations: 6.109 kB / 0.5242 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4485, allocations: 35.94 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.4485, allocations: 0 / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001187/0.4497, allocations: 300.8 kB / 0.5245 GB, free: 288 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4497, allocations: 57.47 kB / 0.5246 GB, free: 220 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.4511, allocations: 0.8594 MB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4511, allocations: 29.7 kB / 0.5255 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.4513, allocations: 218.1 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.4514, allocations: 30.17 kB / 0.5257 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.4514, allocations: 24.59 kB / 0.5257 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003355/0.4518, allocations: 359.6 kB / 0.5261 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.4519, allocations: 29.48 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.452, allocations: 26.58 kB / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4521, allocations: 64.14 kB / 0.5262 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4521, allocations: 1.375 kB / 0.5262 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002554/0.4524, allocations: 129.5 kB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4524, allocations: 9.484 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4524, allocations: 96 / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4525, allocations: 3.984 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4526, allocations: 19.12 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.4526, allocations: 7.922 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.4527, allocations: 6.656 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4527, allocations: 6.688 kB / 0.5263 GB, free: 15.1 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.0002671/0.453, allocations: 214.5 kB / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.453, allocations: 37.41 kB / 0.5266 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.4535, allocations: 159.7 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.4535, allocations: 1.219 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.4536, allocations: 3.938 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4536, allocations: 0.6562 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.4544, allocations: 0.4973 MB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4544, allocations: 4.844 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4546, allocations: 21.3 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4546, allocations: 5.188 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4547, allocations: 2.781 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4547, allocations: 0 / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4547, allocations: 1.281 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.455, allocations: 229.1 kB / 0.5275 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.4551, allocations: 118 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4551, allocations: 1.438 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.4552, allocations: 12.23 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4553, allocations: 7.906 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.4553, allocations: 5.562 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008604/0.4561, allocations: 0.6462 MB / 0.5283 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4561, allocations: 0 / 0.5283 GB, free: 13.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.4564, allocations: 26.56 kB / 0.5283 GB, free: 13.73 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.001132/0.4576, allocations: 459.7 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4579, allocations: 67.08 kB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4579, allocations: 5.094 kB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.744e-05/0.458, allocations: 33.5 kB / 0.5288 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.4585, allocations: 37.48 kB / 0.5289 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4599, allocations: 0.8076 MB / 0.5296 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.4605, allocations: 0.8297 MB / 0.5305 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.676e-05/0.4606, allocations: 19.36 kB / 0.5305 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.4606, allocations: 13.94 kB / 0.5305 GB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4606, allocations: 0 / 0.5305 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Templates: time 0.006193/0.4668, allocations: 1.7 MB / 0.5321 GB, free: 11.37 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