Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001092, allocations: 186.9 kB / 17.97 MB, free: 3.793 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.38/1.38, 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.0009973/0.0009973, allocations: 110.4 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.3757/0.3757, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 51.92 kB / 457.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3964, allocations: 60.81 MB / 0.5064 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003324/0.3998, allocations: 1.62 MB / 0.508 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.4006, allocations: 406.6 kB / 0.5084 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.4007, allocations: 0 / 0.5084 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.401, allocations: 19.42 kB / 0.5084 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.4012, allocations: 28.08 kB / 0.5084 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.4014, allocations: 74.05 kB / 0.5085 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.4016, allocations: 60.69 kB / 0.5085 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.4017, allocations: 13.95 kB / 0.5085 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.4017, allocations: 15.56 kB / 0.5086 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.4018, allocations: 20.78 kB / 0.5086 GB, free: 37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.4018, allocations: 2.906 kB / 0.5086 GB, free: 37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.4019, allocations: 24.38 kB / 0.5086 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.402, allocations: 14.55 kB / 0.5086 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.402, allocations: 22.83 kB / 0.5086 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.4021, allocations: 76.77 kB / 0.5087 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4022, allocations: 0 / 0.5087 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4022, allocations: 0 / 0.5087 GB, free: 36.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.4022, allocations: 0 / 0.5087 GB, free: 36.93 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.0004231/0.4026, allocations: 374.3 kB / 0.5091 GB, free: 36.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4027, allocations: 9.25 kB / 0.5091 GB, free: 36.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.4027, allocations: 8.156 kB / 0.5091 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.4029, allocations: 192.3 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4029, allocations: 1.438 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4029, allocations: 6.656 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.403, allocations: 54.88 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4031, allocations: 1.156 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.4031, allocations: 0 / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4031, allocations: 1.031 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.4032, allocations: 27.67 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.4035, allocations: 270.8 kB / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.4037, allocations: 50.17 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.4038, allocations: 15.83 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4038, allocations: 1.094 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.4038, allocations: 39.03 kB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4039, allocations: 0 / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005321/0.4044, allocations: 135.2 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.4044, allocations: 55.34 kB / 0.5099 GB, free: 35.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4045, allocations: 139.3 kB / 0.51 GB, free: 35.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.4046, allocations: 29.03 kB / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.4046, allocations: 93.7 kB / 0.5101 GB, free: 35.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.4046, allocations: 18.94 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.4047, allocations: 19.47 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.4047, allocations: 329 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.4048, allocations: 15.89 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.4049, allocations: 18.88 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.405, allocations: 46.42 kB / 0.5106 GB, free: 35.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.405, allocations: 3.938 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001491/0.4051, allocations: 82.52 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4052, allocations: 3 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4052, allocations: 2.906 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4052, allocations: 0 / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.4053, allocations: 16.02 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4053, allocations: 0 / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.4053, allocations: 2.844 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4053, allocations: 6.312 kB / 0.5107 GB, free: 35.09 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 6.853e-05/0.4054, allocations: 121.2 kB / 0.5108 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.4054, allocations: 5.875 kB / 0.5108 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.4056, allocations: 92.45 kB / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4056, allocations: 6.797 kB / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.4057, allocations: 0 / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4057, allocations: 0 / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.406, allocations: 348.3 kB / 0.5112 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.406, allocations: 0 / 0.5112 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.4061, allocations: 18.41 kB / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4061, allocations: 0 / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4061, allocations: 0 / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4061, allocations: 3.938 kB / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4061, allocations: 2.844 kB / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.4065, allocations: 0.752 MB / 0.512 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.4065, allocations: 81.02 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.4065, allocations: 3.375 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.4066, allocations: 2.938 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4066, allocations: 6.328 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4066, allocations: 2.875 kB / 0.5121 GB, free: 33.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.423e-05/0.4067, allocations: 108.6 kB / 0.5122 GB, free: 33.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4067, allocations: 6.969 kB / 0.5122 GB, free: 33.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.407, allocations: 12.2 kB / 0.5122 GB, free: 33.64 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.0008265/0.4079, allocations: 407 kB / 0.5126 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.408, allocations: 49.27 kB / 0.5126 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.408, allocations: 0 / 0.5126 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.4081, allocations: 31.36 kB / 0.5127 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.4085, allocations: 25.12 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.4089, allocations: 294.6 kB / 0.513 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.409, allocations: 0.6929 MB / 0.5137 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.4091, allocations: 8.906 kB / 0.5137 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.4091, allocations: 10.19 kB / 0.5137 GB, free: 32.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4091, allocations: 0 / 0.5137 GB, free: 32.44 MB / 378.7 MB Notification: Performance of Templates: time 0.002991/0.4121, allocations: 1.065 MB / 0.5147 GB, free: 32.29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches