Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, 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.582/1.582, allocations: 222.9 MB / 241.6 MB, free: 11 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.001086/0.001086, allocations: 121.9 kB / 291.9 MB, free: 10.95 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.4107/0.4107, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009848/0.0009848, allocations: 51.91 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4032, allocations: 60.81 MB / 0.5064 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002929/0.4062, allocations: 1.641 MB / 0.508 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.4069, allocations: 401.6 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.407, allocations: 1.188 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.4073, allocations: 72.3 kB / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.4074, allocations: 55.61 kB / 0.5085 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.4077, allocations: 84.66 kB / 0.5086 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.4079, allocations: 71.44 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.408, allocations: 22.17 kB / 0.5087 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.408, allocations: 26.23 kB / 0.5087 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.4081, allocations: 52.55 kB / 0.5087 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4081, allocations: 2.906 kB / 0.5087 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.4082, allocations: 40.98 kB / 0.5088 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.4083, allocations: 17.06 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.4083, allocations: 40.73 kB / 0.5088 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.4085, allocations: 100.2 kB / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4085, allocations: 0 / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4085, allocations: 0 / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.4085, allocations: 0 / 0.5089 GB, free: 36.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003726/0.4089, allocations: 406.9 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4089, allocations: 11.59 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.4089, allocations: 7.75 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.4091, allocations: 203.6 kB / 0.5095 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4091, allocations: 384 / 0.5095 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4091, allocations: 7.188 kB / 0.5095 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.4093, allocations: 62.53 kB / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4093, allocations: 3.984 kB / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4093, allocations: 0 / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4093, allocations: 0 / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.4094, allocations: 26.67 kB / 0.5096 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.4097, allocations: 300.2 kB / 0.5099 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.4098, allocations: 40.64 kB / 0.51 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.4099, allocations: 21.23 kB / 0.51 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4099, allocations: 80 / 0.51 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.4099, allocations: 34.56 kB / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4099, allocations: 0 / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008667/0.4108, allocations: 224.6 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.4109, allocations: 51.41 kB / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.411, allocations: 208.2 kB / 0.5105 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.411, allocations: 32.86 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4111, allocations: 105.4 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.4111, allocations: 26.41 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.4112, allocations: 23.06 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.4112, allocations: 321.2 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.4113, allocations: 24.67 kB / 0.511 GB, free: 34.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.4114, allocations: 28.8 kB / 0.511 GB, free: 34.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4115, allocations: 60.95 kB / 0.5111 GB, free: 34.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4115, allocations: 0 / 0.5111 GB, free: 34.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001784/0.4117, allocations: 104 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4117, allocations: 2.812 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4118, allocations: 2.844 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4118, allocations: 0 / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.4119, allocations: 21.41 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4119, allocations: 3.938 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.4119, allocations: 14.09 kB / 0.5112 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.412, allocations: 2.844 kB / 0.5112 GB, free: 34.67 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 (8): * Single equations (assignments): 8 * 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 7.191e-05/0.412, allocations: 123 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.4121, allocations: 20.91 kB / 0.5113 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.4123, allocations: 111.4 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4123, allocations: 2.875 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4124, allocations: 3.938 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4124, allocations: 4 kB / 0.5115 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.4128, allocations: 397.1 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4128, allocations: 2.844 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.4129, allocations: 28.91 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4129, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.4129, allocations: 2.625 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4129, allocations: 4.031 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4129, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.4133, allocations: 0.7895 MB / 0.5127 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.4134, allocations: 83.86 kB / 0.5127 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.4134, allocations: 14.17 kB / 0.5127 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.4135, allocations: 6.75 kB / 0.5128 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4135, allocations: 10.11 kB / 0.5128 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.4135, allocations: 2.844 kB / 0.5128 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.368e-05/0.4136, allocations: 161.6 kB / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4136, allocations: 0 / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000338/0.414, allocations: 25.47 kB / 0.5129 GB, free: 33.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009088/0.4149, allocations: 451.7 kB / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4151, allocations: 59.55 kB / 0.5134 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4151, allocations: 4 kB / 0.5134 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.4152, allocations: 43.91 kB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4155, allocations: 16.69 kB / 0.5135 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.416, allocations: 399.7 kB / 0.5139 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4161, allocations: 0.7089 MB / 0.5146 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.4162, allocations: 10.41 kB / 0.5146 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.4162, allocations: 16.31 kB / 0.5146 GB, free: 31.84 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4162, allocations: 7.938 kB / 0.5146 GB, free: 31.83 MB / 378.7 MB Notification: Performance of Templates: time 0.003133/0.4193, allocations: 1.28 MB / 0.5158 GB, free: 31.68 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches