Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 108.1 kB / 18.45 MB, free: 4.594 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.001246/0.001247, allocations: 180.2 kB / 19.37 MB, free: 3.676 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.348/1.348, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2096/0.2096, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4048, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002933/0.4078, allocations: 1.645 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.4085, allocations: 451.3 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.4086, allocations: 5.062 kB / 0.5216 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.4089, allocations: 56.17 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.4091, allocations: 43.11 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.4095, allocations: 175.7 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4097, allocations: 81.66 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4098, allocations: 17.97 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.4099, allocations: 33.36 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.41, allocations: 41.19 kB / 0.5221 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.41, allocations: 3.312 kB / 0.5221 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.4101, allocations: 55.81 kB / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.4102, allocations: 20.7 kB / 0.5221 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.4102, allocations: 31.7 kB / 0.5222 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.4104, allocations: 101.4 kB / 0.5223 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4105, allocations: 1.062 kB / 0.5223 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4105, allocations: 0 / 0.5223 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4105, allocations: 0 / 0.5223 GB, free: 1.895 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.0004346/0.4109, allocations: 404.7 kB / 0.5226 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.411, allocations: 9.562 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.411, allocations: 13.34 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4112, allocations: 193.9 kB / 0.5229 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4112, allocations: 5.438 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.4112, allocations: 7.688 kB / 0.5229 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4114, allocations: 66.73 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4114, allocations: 0.5156 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4114, allocations: 5.188 kB / 0.5229 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4114, allocations: 1.156 kB / 0.5229 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.4116, allocations: 50.25 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.412, allocations: 319.9 kB / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.4123, allocations: 65.69 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.4123, allocations: 25.95 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4124, allocations: 5.469 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.4124, allocations: 31.17 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4124, allocations: 1.344 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00153/0.4139, allocations: 413.8 kB / 0.5238 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.414, allocations: 60.47 kB / 0.5239 GB, free: 0.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4141, allocations: 171.7 kB / 0.524 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4142, allocations: 27.56 kB / 0.5241 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.4142, allocations: 103.2 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4142, allocations: 31.08 kB / 0.5242 GB, free: 360 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.4143, allocations: 23.98 kB / 0.5242 GB, free: 340 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.4144, allocations: 320.8 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.4145, allocations: 64.08 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4147, allocations: 56.38 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.415, allocations: 122.2 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.415, allocations: 0 / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003727/0.4154, allocations: 169.7 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4154, allocations: 9.969 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4154, allocations: 3.938 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4154, allocations: 1.031 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.4156, allocations: 29.33 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4156, allocations: 1.875 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.4156, allocations: 8.875 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4156, allocations: 3.109 kB / 0.525 GB, free: 15.84 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.0001025/0.4158, allocations: 130.7 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.4158, allocations: 12.52 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.4162, allocations: 190.1 kB / 0.5253 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4163, allocations: 5.469 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4163, allocations: 0 / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4163, allocations: 0.75 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.417, allocations: 0.4941 MB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.417, allocations: 0.6094 kB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4171, allocations: 32.55 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4172, allocations: 1.844 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4172, allocations: 10.67 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4172, allocations: 1.969 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4172, allocations: 4 kB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.4176, allocations: 267.2 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4177, allocations: 88.8 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4177, allocations: 2.984 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.4178, allocations: 13.56 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.4179, allocations: 8.516 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4179, allocations: 3.906 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.418, allocations: 132.8 kB / 0.5263 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.418, allocations: 1.375 kB / 0.5263 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4183, allocations: 27.33 kB / 0.5263 GB, free: 14.81 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.001086/0.4194, allocations: 462.7 kB / 0.5268 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.4197, allocations: 129.5 kB / 0.5269 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4198, allocations: 1.375 kB / 0.5269 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.4199, allocations: 69.83 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4203, allocations: 15.62 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.4209, allocations: 316.8 kB / 0.5273 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4212, allocations: 0.7131 MB / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.4213, allocations: 16.8 kB / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4213, allocations: 0 / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Templates: time 0.004058/0.4254, allocations: 1.988 MB / 0.5299 GB, free: 12.69 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches