Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 110.4 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.00201/0.00201, allocations: 183.1 kB / 18.7 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2092/0.2092, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4095, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003275/0.4129, allocations: 1.613 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.4137, allocations: 417.3 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.4138, allocations: 1.031 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008327/0.4146, allocations: 453.8 kB / 0.5213 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.4152, allocations: 257.6 kB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.4156, allocations: 127.7 kB / 0.5217 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.4159, allocations: 158.7 kB / 0.5218 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.416, allocations: 21.41 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.4162, allocations: 106.1 kB / 0.522 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.4165, allocations: 211 kB / 0.5222 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.4166, allocations: 2.469 kB / 0.5222 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.4167, allocations: 34.22 kB / 0.5222 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4168, allocations: 85.34 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.4169, allocations: 101.2 kB / 0.5224 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.4172, allocations: 251.1 kB / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4172, allocations: 0 / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4172, allocations: 7.875 kB / 0.5226 GB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4173, allocations: 0 / 0.5226 GB, free: 1.797 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.0006848/0.418, allocations: 0.6273 MB / 0.5232 GB, free: 1.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.418, allocations: 10.03 kB / 0.5233 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.4181, allocations: 41.97 kB / 0.5233 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.4183, allocations: 288.5 kB / 0.5236 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4183, allocations: 6.594 kB / 0.5236 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.4184, allocations: 6.75 kB / 0.5236 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4185, allocations: 55.2 kB / 0.5236 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4185, allocations: 0 / 0.5236 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4186, allocations: 5.219 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4186, allocations: 0 / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.895e-05/0.4187, allocations: 27.95 kB / 0.5237 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.4191, allocations: 385.4 kB / 0.524 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.4193, allocations: 48 kB / 0.5241 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.4194, allocations: 17.67 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4194, allocations: 1.406 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.4195, allocations: 31.17 kB / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4195, allocations: 0 / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006174/0.4201, allocations: 222.6 kB / 0.5243 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.4201, allocations: 51.41 kB / 0.5244 GB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/0.421, allocations: 0.8589 MB / 0.5252 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4211, allocations: 29.7 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4213, allocations: 218.2 kB / 0.5255 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.4213, allocations: 15.91 kB / 0.5255 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.4213, allocations: 18.59 kB / 0.5255 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4215, allocations: 361.3 kB / 0.5258 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.4216, allocations: 21.39 kB / 0.5259 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.4217, allocations: 20.08 kB / 0.5259 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.4218, allocations: 47.62 kB / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4218, allocations: 3.984 kB / 0.5259 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002185/0.422, allocations: 118.5 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4221, allocations: 5.656 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4221, allocations: 0 / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4221, allocations: 1.062 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.4222, allocations: 14.05 kB / 0.5261 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4222, allocations: 0 / 0.5261 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.4222, allocations: 7.75 kB / 0.5261 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4222, allocations: 1.094 kB / 0.5261 GB, free: 15.27 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 (5): * Single equations (assignments): 5 * 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.0002246/0.4225, allocations: 218 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4225, allocations: 41.75 kB / 0.5263 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.4229, allocations: 142.5 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4229, allocations: 5.594 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.4229, allocations: 0 / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4229, allocations: 3.938 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.4235, allocations: 456.3 kB / 0.5269 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4235, allocations: 0.75 kB / 0.5269 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.4236, allocations: 17.3 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4236, allocations: 1.25 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4236, allocations: 3.938 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4236, allocations: 1.406 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4236, allocations: 0 / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.4239, allocations: 214.6 kB / 0.5271 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.424, allocations: 105.6 kB / 0.5272 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.4241, allocations: 9.047 kB / 0.5272 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4242, allocations: 2.5 kB / 0.5272 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.4243, allocations: 11.64 kB / 0.5272 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4243, allocations: 0 / 0.5272 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007075/0.425, allocations: 0.6469 MB / 0.5279 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.425, allocations: 0 / 0.5279 GB, free: 13.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.4253, allocations: 17.94 kB / 0.5279 GB, free: 13.95 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 (5): * Single equations (assignments): 5 * 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.0009757/0.4263, allocations: 412.3 kB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.4265, allocations: 48.16 kB / 0.5283 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4265, allocations: 1.25 kB / 0.5283 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.4266, allocations: 23.02 kB / 0.5284 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.427, allocations: 25.05 kB / 0.5284 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.4282, allocations: 0.7876 MB / 0.5292 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4287, allocations: 0.8229 MB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.4287, allocations: 5.656 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.4288, allocations: 15.95 kB / 0.53 GB, free: 12.51 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4288, allocations: 0 / 0.53 GB, free: 12.51 MB / 398.1 MB Notification: Performance of Templates: time 0.005113/0.4339, allocations: 1.458 MB / 0.5314 GB, free: 11.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches