Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 109.5 kB / 17.77 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.001055/0.001055, allocations: 188 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.425/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2165/0.2165, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4126, allocations: 60.83 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003016/0.4157, allocations: 1.647 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.4164, allocations: 416.2 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.4165, allocations: 1 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.4167, allocations: 55.69 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.417, allocations: 61.2 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4173, allocations: 133.2 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4175, allocations: 76 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.4177, allocations: 31.59 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.4177, allocations: 27.92 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4179, allocations: 50.22 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.4179, allocations: 3.25 kB / 0.5214 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.418, allocations: 55.42 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.4181, allocations: 24.06 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.4181, allocations: 31.66 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.4183, allocations: 98.09 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4184, allocations: 1.062 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4184, allocations: 0 / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4184, allocations: 4 kB / 0.5216 GB, free: 1.93 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.0004493/0.4188, allocations: 421.9 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4189, allocations: 9.562 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.4189, allocations: 9.344 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4191, allocations: 195.7 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4191, allocations: 1.469 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4191, allocations: 11.83 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4193, allocations: 60.41 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4193, allocations: 7.938 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4193, allocations: 0 / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4194, allocations: 2.391 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4195, allocations: 39.03 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.4198, allocations: 298.8 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.4201, allocations: 62.28 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.4201, allocations: 24.66 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4202, allocations: 1.375 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.4202, allocations: 31.17 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4202, allocations: 1.094 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001475/0.4217, allocations: 388.8 kB / 0.5231 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.4217, allocations: 57.28 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.4219, allocations: 179.2 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.422, allocations: 30.73 kB / 0.5233 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.422, allocations: 99.59 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.4221, allocations: 39.75 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.4221, allocations: 30.05 kB / 0.5235 GB, free: 368 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4222, allocations: 322.1 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4224, allocations: 44.36 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4225, allocations: 40.48 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.4229, allocations: 100.2 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4229, allocations: 1.531 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004049/0.4233, allocations: 145.7 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4233, allocations: 9.141 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4233, allocations: 5.062 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.4234, allocations: 0 / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.4235, allocations: 26.31 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4235, allocations: 4 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.4236, allocations: 14.78 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4236, allocations: 3.25 kB / 0.5242 GB, free: 15.89 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 (11): * Single equations (assignments): 11 * 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.0001467/0.4238, allocations: 124.8 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.4238, allocations: 10.59 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.4243, allocations: 167.1 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4243, allocations: 6.531 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.4243, allocations: 0 / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4244, allocations: 0.6562 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.4253, allocations: 477.9 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4253, allocations: 1.156 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.4255, allocations: 30.11 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.4255, allocations: 1.125 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4255, allocations: 2.328 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.4255, allocations: 1.625 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4255, allocations: 0 / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.426, allocations: 258.8 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.4261, allocations: 85.22 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.4261, allocations: 3.094 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.4262, allocations: 12.08 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4264, allocations: 12.75 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4264, allocations: 4.156 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.4266, allocations: 145.9 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4266, allocations: 3.938 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.427, allocations: 29.41 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001371/0.4283, allocations: 461.9 kB / 0.5259 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.4288, allocations: 106.8 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4288, allocations: 0 / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.429, allocations: 59.73 kB / 0.5261 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.4294, allocations: 19.66 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.4301, allocations: 280.4 kB / 0.5264 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.4306, allocations: 0.7088 MB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.4307, allocations: 18.83 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.4307, allocations: 19.44 kB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4307, allocations: 0 / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.005096/0.4358, allocations: 1.552 MB / 0.5286 GB, free: 13.1 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches