Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001663/0.001663, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.408/1.408, 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.2097/0.2097, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4109, allocations: 60.81 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002954/0.4139, allocations: 1.585 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000744/0.4146, allocations: 405.6 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.4147, allocations: 0.9688 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.415, allocations: 36.75 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.4152, allocations: 37.83 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.4156, allocations: 111.1 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.4157, allocations: 59.61 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4158, allocations: 5.891 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.4159, allocations: 19.22 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.4159, allocations: 20.08 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.416, allocations: 2.312 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.416, allocations: 38.03 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.4161, allocations: 12.84 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.4161, allocations: 24.75 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.4164, allocations: 81.58 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4164, allocations: 3.938 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4164, allocations: 0 / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4164, allocations: 1 kB / 0.5213 GB, free: 2.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004539/0.4168, allocations: 390.7 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4169, allocations: 9.062 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.4169, allocations: 13.34 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4171, allocations: 187.8 kB / 0.5219 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4171, allocations: 384 / 0.5219 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4171, allocations: 7.5 kB / 0.5219 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.4173, allocations: 54.16 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4173, allocations: 0 / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4173, allocations: 0.5156 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.4173, allocations: 1.125 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.4174, allocations: 26.52 kB / 0.5219 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.4177, allocations: 282.5 kB / 0.5222 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.418, allocations: 45.42 kB / 0.5223 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.418, allocations: 21.94 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.418, allocations: 1.219 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4181, allocations: 32.73 kB / 0.5223 GB, free: 1.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4181, allocations: 0 / 0.5223 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005495/0.4186, allocations: 151.7 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.4186, allocations: 52.66 kB / 0.5225 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4188, allocations: 161.9 kB / 0.5227 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.4188, allocations: 29.7 kB / 0.5227 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.4188, allocations: 102.8 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4188, allocations: 12.22 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.4189, allocations: 17.38 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.4189, allocations: 328.7 kB / 0.5231 GB, free: 292 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.419, allocations: 24.27 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.419, allocations: 21.5 kB / 0.5232 GB, free: 280 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.4192, allocations: 56.5 kB / 0.5232 GB, free: 256 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4192, allocations: 0.6094 kB / 0.5232 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001756/0.4194, allocations: 93.25 kB / 0.5233 GB, free: 200 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4194, allocations: 7.375 kB / 0.5233 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4194, allocations: 4.875 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4194, allocations: 0.8438 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.4195, allocations: 12.16 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4195, allocations: 0.9375 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.4195, allocations: 4.906 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4195, allocations: 2.188 kB / 0.5233 GB, free: 196 kB / 382.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 6.225e-05/0.4196, allocations: 126.1 kB / 0.5235 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.4196, allocations: 8.516 kB / 0.5235 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.4198, allocations: 98.2 kB / 0.5236 GB, free: 0 / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4198, allocations: 1.094 kB / 0.5236 GB, free: 0 / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4198, allocations: 2.141 kB / 0.5236 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4198, allocations: 0 / 0.5236 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.4203, allocations: 358.9 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4203, allocations: 4 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.4204, allocations: 17.84 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4204, allocations: 3.938 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4204, allocations: 5.094 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4204, allocations: 4.547 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4204, allocations: 192 / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.4206, allocations: 185.7 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.4207, allocations: 84.75 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4207, allocations: 0.75 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.4208, allocations: 9.469 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.4208, allocations: 7.484 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4208, allocations: 1.188 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4209, allocations: 129.5 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4209, allocations: 0 / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.4212, allocations: 19.69 kB / 0.5244 GB, free: 15.3 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.0009015/0.4221, allocations: 393.3 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.4223, allocations: 55.05 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4223, allocations: 0 / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.4224, allocations: 26.06 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4227, allocations: 21.77 kB / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.4232, allocations: 195.8 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4236, allocations: 0.6981 MB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.7e-05/0.4237, allocations: 15.73 kB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.4237, allocations: 11.02 kB / 0.5257 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4237, allocations: 1.188 kB / 0.5257 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.005024/0.4288, allocations: 1.13 MB / 0.5268 GB, free: 14.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches