Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, 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.348/1.348, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001032, allocations: 98.11 kB / 291.9 MB, free: 10.94 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.4212/0.4212, allocations: 44.12 MB / 386.1 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 47.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4009, allocations: 60.81 MB / 0.5064 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002862/0.4039, allocations: 1.613 MB / 0.508 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.4046, allocations: 398.7 kB / 0.5083 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.4047, allocations: 0 / 0.5083 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.4049, allocations: 22.06 kB / 0.5084 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.4051, allocations: 36.61 kB / 0.5084 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.4053, allocations: 77.69 kB / 0.5085 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.4055, allocations: 48.78 kB / 0.5085 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4056, allocations: 16.75 kB / 0.5085 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.4056, allocations: 27.09 kB / 0.5086 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.4057, allocations: 16.02 kB / 0.5086 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.4057, allocations: 2.781 kB / 0.5086 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.4058, allocations: 24.62 kB / 0.5086 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.4058, allocations: 12.45 kB / 0.5086 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.4059, allocations: 22.28 kB / 0.5086 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.406, allocations: 72.83 kB / 0.5087 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.406, allocations: 0 / 0.5087 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.406, allocations: 0 / 0.5087 GB, free: 36.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.406, allocations: 0 / 0.5087 GB, free: 36.59 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.0003902/0.4064, allocations: 382.4 kB / 0.5091 GB, free: 36.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4065, allocations: 11.83 kB / 0.5091 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.4065, allocations: 10.06 kB / 0.5091 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4067, allocations: 185 kB / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.4067, allocations: 384 / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4067, allocations: 10.59 kB / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.4068, allocations: 46.69 kB / 0.5093 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4068, allocations: 0 / 0.5093 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4069, allocations: 0 / 0.5093 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4069, allocations: 7.875 kB / 0.5093 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.407, allocations: 22.25 kB / 0.5094 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.4072, allocations: 283 kB / 0.5096 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4074, allocations: 39.47 kB / 0.5097 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.4075, allocations: 22.36 kB / 0.5097 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4075, allocations: 4 kB / 0.5097 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.4075, allocations: 33.41 kB / 0.5097 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4075, allocations: 0 / 0.5097 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004772/0.408, allocations: 128.9 kB / 0.5098 GB, free: 35.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4081, allocations: 54.64 kB / 0.5099 GB, free: 35.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4082, allocations: 145.3 kB / 0.51 GB, free: 35.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.4082, allocations: 29.64 kB / 0.5101 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.4082, allocations: 94.09 kB / 0.5102 GB, free: 35.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.4083, allocations: 22.41 kB / 0.5102 GB, free: 35.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.4083, allocations: 15.67 kB / 0.5102 GB, free: 35.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.4084, allocations: 321.4 kB / 0.5105 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.4084, allocations: 21.06 kB / 0.5105 GB, free: 34.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.4085, allocations: 22.53 kB / 0.5105 GB, free: 34.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.4086, allocations: 45.34 kB / 0.5106 GB, free: 34.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4086, allocations: 2.375 kB / 0.5106 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001594/0.4088, allocations: 81.94 kB / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4088, allocations: 2.75 kB / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4088, allocations: 2.594 kB / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4088, allocations: 0 / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.4089, allocations: 19.44 kB / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4089, allocations: 2.969 kB / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.4089, allocations: 3.156 kB / 0.5107 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.4089, allocations: 0 / 0.5107 GB, free: 34.75 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 5.403e-05/0.409, allocations: 127.4 kB / 0.5108 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.409, allocations: 3.594 kB / 0.5108 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.4092, allocations: 99.12 kB / 0.5109 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4092, allocations: 6.812 kB / 0.5109 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4093, allocations: 0 / 0.5109 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4093, allocations: 0 / 0.5109 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4096, allocations: 340.7 kB / 0.5112 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4096, allocations: 0 / 0.5112 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.4096, allocations: 12.11 kB / 0.5113 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4096, allocations: 3.938 kB / 0.5113 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4097, allocations: 6.781 kB / 0.5113 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4097, allocations: 4.125 kB / 0.5113 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4097, allocations: 4 kB / 0.5113 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.41, allocations: 0.7463 MB / 0.512 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.4101, allocations: 84.08 kB / 0.5121 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.4101, allocations: 4 kB / 0.5121 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.4101, allocations: 10.39 kB / 0.5121 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.4102, allocations: 6.469 kB / 0.5121 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4102, allocations: 0 / 0.5121 GB, free: 33.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.4103, allocations: 110.3 kB / 0.5122 GB, free: 33.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4103, allocations: 0 / 0.5122 GB, free: 33.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.4106, allocations: 15.72 kB / 0.5122 GB, free: 33.29 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.0008305/0.4114, allocations: 408.8 kB / 0.5126 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4116, allocations: 46.8 kB / 0.5127 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4116, allocations: 0 / 0.5127 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.4117, allocations: 25.8 kB / 0.5127 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.412, allocations: 20.41 kB / 0.5127 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.4124, allocations: 310.1 kB / 0.513 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.4125, allocations: 0.687 MB / 0.5137 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.4126, allocations: 9.219 kB / 0.5137 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.4126, allocations: 10.41 kB / 0.5137 GB, free: 32.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4126, allocations: 6.938 kB / 0.5137 GB, free: 32.08 MB / 378.7 MB Notification: Performance of Templates: time 0.002949/0.4156, allocations: 1.04 MB / 0.5147 GB, free: 31.95 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches