Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 97.47 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3817/0.3817, allocations: 44.14 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 51.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3992, allocations: 60.8 MB / 0.5064 GB, free: 38.6 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003746/0.403, allocations: 1.616 MB / 0.508 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008093/0.4039, allocations: 419.5 kB / 0.5084 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.404, allocations: 0 / 0.5084 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.4042, allocations: 18 kB / 0.5084 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.4044, allocations: 27.62 kB / 0.5084 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.4048, allocations: 102.1 kB / 0.5085 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.405, allocations: 50.84 kB / 0.5086 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.4051, allocations: 15.06 kB / 0.5086 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.4052, allocations: 19.12 kB / 0.5086 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.4053, allocations: 20.47 kB / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.4053, allocations: 0 / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.4054, allocations: 36.62 kB / 0.5086 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.4055, allocations: 5.688 kB / 0.5086 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.4055, allocations: 23.38 kB / 0.5087 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.4057, allocations: 78.22 kB / 0.5087 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4057, allocations: 0 / 0.5087 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4057, allocations: 4 kB / 0.5087 GB, free: 37.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.4057, allocations: 0 / 0.5087 GB, free: 37.04 MB / 378.7 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.0004751/0.4062, allocations: 380.2 kB / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4063, allocations: 9 kB / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4063, allocations: 8.625 kB / 0.5091 GB, free: 36.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4065, allocations: 188.8 kB / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4065, allocations: 3.344 kB / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4065, allocations: 384 / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.4067, allocations: 55.8 kB / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4067, allocations: 2.844 kB / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4067, allocations: 0 / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4067, allocations: 3.984 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.4068, allocations: 24.84 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.4072, allocations: 281.7 kB / 0.5097 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4074, allocations: 53.3 kB / 0.5097 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.4075, allocations: 17.8 kB / 0.5097 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4075, allocations: 0 / 0.5097 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.4075, allocations: 33.53 kB / 0.5098 GB, free: 36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.4075, allocations: 3.938 kB / 0.5098 GB, free: 36 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005093/0.408, allocations: 149.9 kB / 0.5099 GB, free: 35.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.4081, allocations: 52.53 kB / 0.51 GB, free: 35.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4082, allocations: 140.3 kB / 0.5101 GB, free: 35.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.4082, allocations: 26.73 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.4083, allocations: 93.7 kB / 0.5102 GB, free: 35.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.4083, allocations: 21.97 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.4083, allocations: 17.77 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.4084, allocations: 325.1 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.4085, allocations: 22.25 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.4085, allocations: 22.23 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4086, allocations: 55.03 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4086, allocations: 0 / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001674/0.4088, allocations: 89.45 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4088, allocations: 7.906 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4089, allocations: 2.688 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4089, allocations: 0 / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.4089, allocations: 11.47 kB / 0.5108 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.409, allocations: 2.781 kB / 0.5108 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.409, allocations: 6.484 kB / 0.5108 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.409, allocations: 0 / 0.5108 GB, free: 35.19 MB / 378.7 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 8.192e-05/0.4091, allocations: 124.1 kB / 0.5109 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.4091, allocations: 2.906 kB / 0.5109 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.4094, allocations: 101.5 kB / 0.511 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4094, allocations: 0 / 0.511 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4094, allocations: 0 / 0.511 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4094, allocations: 6.297 kB / 0.511 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.4098, allocations: 348.7 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4098, allocations: 0 / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.4099, allocations: 15.78 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4099, allocations: 6.781 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4099, allocations: 0 / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4099, allocations: 3.938 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4099, allocations: 0 / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.4103, allocations: 0.7603 MB / 0.5121 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.4103, allocations: 91.31 kB / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4104, allocations: 0 / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.4104, allocations: 2.969 kB / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.4105, allocations: 6.234 kB / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4105, allocations: 4 kB / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.4105, allocations: 109.9 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4105, allocations: 2.812 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000317/0.4109, allocations: 16.66 kB / 0.5123 GB, free: 33.73 MB / 378.7 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.0008192/0.4117, allocations: 404.1 kB / 0.5127 GB, free: 33.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.4119, allocations: 49.47 kB / 0.5127 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4119, allocations: 0 / 0.5127 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.412, allocations: 28.19 kB / 0.5128 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.4123, allocations: 20.06 kB / 0.5128 GB, free: 33.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.4127, allocations: 325.6 kB / 0.5131 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4128, allocations: 0.6936 MB / 0.5138 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.4129, allocations: 17.16 kB / 0.5138 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.4129, allocations: 16.67 kB / 0.5138 GB, free: 32.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4129, allocations: 3.938 kB / 0.5138 GB, free: 32.51 MB / 378.7 MB Notification: Performance of Templates: time 0.003101/0.416, allocations: 1.053 MB / 0.5148 GB, free: 32.38 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches