Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001307/0.001307, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.397/1.397, 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.2149/0.2149, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4065, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002778/0.4093, allocations: 1.656 MB / 0.5205 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006926/0.41, allocations: 450.8 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.4101, allocations: 1.156 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.4104, allocations: 53.3 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.4106, allocations: 59.91 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.411, allocations: 177 kB / 0.5212 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.4112, allocations: 84.06 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4113, allocations: 21.83 kB / 0.5213 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.4114, allocations: 40.05 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4115, allocations: 42.64 kB / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.4115, allocations: 3.375 kB / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.4116, allocations: 52.12 kB / 0.5215 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.4117, allocations: 26.42 kB / 0.5215 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.4117, allocations: 27.42 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.4119, allocations: 112.5 kB / 0.5216 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4119, allocations: 0 / 0.5216 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4119, allocations: 0 / 0.5216 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4119, allocations: 4 kB / 0.5216 GB, free: 1.871 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.0004104/0.4123, allocations: 411.5 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4124, allocations: 9.094 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.4124, allocations: 11.3 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4126, allocations: 201.3 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4126, allocations: 5.438 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4126, allocations: 3.719 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4128, allocations: 70.59 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4128, allocations: 1.156 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4128, allocations: 0.6094 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4128, allocations: 1.125 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.413, allocations: 43.77 kB / 0.5224 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.4134, allocations: 320.5 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4136, allocations: 64.91 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.4137, allocations: 27.17 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4137, allocations: 5 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.4138, allocations: 33.14 kB / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4138, allocations: 0 / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001512/0.4153, allocations: 416.6 kB / 0.5232 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.4153, allocations: 57.53 kB / 0.5232 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.4155, allocations: 184.9 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.4155, allocations: 27.14 kB / 0.5235 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.4155, allocations: 104.5 kB / 0.5236 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.4156, allocations: 41.81 kB / 0.5236 GB, free: 328 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.4156, allocations: 32.09 kB / 0.5236 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.4157, allocations: 321.9 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4158, allocations: 51.3 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.416, allocations: 56.47 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.4163, allocations: 130 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4163, allocations: 1.25 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000355/0.4166, allocations: 165.1 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4167, allocations: 5.984 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4167, allocations: 0.875 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4167, allocations: 1.438 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4168, allocations: 37.02 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4168, allocations: 7.922 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.4169, allocations: 9.906 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4169, allocations: 3.516 kB / 0.5244 GB, free: 15.8 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.0001075/0.417, allocations: 128.2 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.4171, allocations: 13.81 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.4175, allocations: 190.5 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.4175, allocations: 10.31 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4175, allocations: 0 / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4175, allocations: 0.5625 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.4182, allocations: 0.4911 MB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4183, allocations: 1.719 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.4184, allocations: 30.3 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4184, allocations: 0.5625 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4184, allocations: 5.375 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4184, allocations: 2.031 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4184, allocations: 1.375 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.4188, allocations: 274.2 kB / 0.5255 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.4189, allocations: 85.66 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4189, allocations: 6.109 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.419, allocations: 12.92 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.419, allocations: 8.875 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.4191, allocations: 6.75 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4192, allocations: 144.2 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4192, allocations: 5.312 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.4195, allocations: 23.38 kB / 0.5258 GB, free: 14.78 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.001247/0.4207, allocations: 461.9 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.4212, allocations: 130.3 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.4212, allocations: 0 / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.4215, allocations: 74.52 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.4219, allocations: 22.89 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.4227, allocations: 294.4 kB / 0.5267 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.4232, allocations: 0.7182 MB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.4233, allocations: 34.84 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.4234, allocations: 14.97 kB / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4234, allocations: 0 / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Templates: time 0.006101/0.4295, allocations: 1.641 MB / 0.5291 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches