Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, 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.618/1.618, 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.001269/0.001269, allocations: 112.9 kB / 291.9 MB, free: 10.93 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.3505/0.3505, allocations: 44.14 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3993, allocations: 60.8 MB / 0.5064 GB, free: 38.61 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00375/0.4031, allocations: 1.67 MB / 0.508 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007145/0.4039, allocations: 418.1 kB / 0.5084 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.4039, allocations: 0 / 0.5084 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.4042, allocations: 30.06 kB / 0.5084 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.4044, allocations: 34.47 kB / 0.5085 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.4046, allocations: 87.27 kB / 0.5086 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.4047, allocations: 69.91 kB / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4049, allocations: 26.94 kB / 0.5087 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.4049, allocations: 24.34 kB / 0.5087 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.405, allocations: 35.25 kB / 0.5087 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4051, allocations: 3.281 kB / 0.5087 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.4052, allocations: 44.14 kB / 0.5088 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.4052, allocations: 26.61 kB / 0.5088 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.4053, allocations: 24.59 kB / 0.5088 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.4055, allocations: 100.8 kB / 0.5089 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4055, allocations: 1.438 kB / 0.5089 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4055, allocations: 0 / 0.5089 GB, free: 36.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.4055, allocations: 4 kB / 0.5089 GB, free: 36.97 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000475/0.406, allocations: 398.5 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.406, allocations: 9.844 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.4061, allocations: 16.8 kB / 0.5093 GB, free: 36.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4063, allocations: 196.9 kB / 0.5095 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4063, allocations: 2.719 kB / 0.5095 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.4063, allocations: 11.53 kB / 0.5095 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.4065, allocations: 69.03 kB / 0.5096 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4065, allocations: 4 kB / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4065, allocations: 4 kB / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4065, allocations: 2.562 kB / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.4066, allocations: 39.78 kB / 0.5096 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.407, allocations: 313.7 kB / 0.5099 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4071, allocations: 65.83 kB / 0.51 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.4072, allocations: 27.69 kB / 0.51 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.4072, allocations: 112 / 0.51 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.4072, allocations: 34.5 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4073, allocations: 2.906 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009694/0.4082, allocations: 296.7 kB / 0.5103 GB, free: 35.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.4083, allocations: 54.31 kB / 0.5104 GB, free: 35.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4084, allocations: 154.7 kB / 0.5105 GB, free: 35.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4084, allocations: 29.7 kB / 0.5106 GB, free: 35.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.4085, allocations: 98.2 kB / 0.5107 GB, free: 35.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.4085, allocations: 40.47 kB / 0.5107 GB, free: 35.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.4085, allocations: 33.59 kB / 0.5107 GB, free: 35.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.4086, allocations: 321 kB / 0.511 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.4087, allocations: 34.41 kB / 0.5111 GB, free: 35.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.4088, allocations: 38.58 kB / 0.5111 GB, free: 35.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.409, allocations: 87.81 kB / 0.5112 GB, free: 35.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.409, allocations: 0 / 0.5112 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002154/0.4092, allocations: 139.6 kB / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4092, allocations: 2.719 kB / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4092, allocations: 0 / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4092, allocations: 6.375 kB / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4094, allocations: 25.2 kB / 0.5114 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4094, allocations: 0 / 0.5114 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.4094, allocations: 10.22 kB / 0.5114 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.4094, allocations: 6.688 kB / 0.5114 GB, free: 34.95 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 (13): * Single equations (assignments): 13 * 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.515e-05/0.4095, allocations: 133.9 kB / 0.5115 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.4096, allocations: 16.97 kB / 0.5115 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.4099, allocations: 163.9 kB / 0.5117 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4099, allocations: 0 / 0.5117 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4099, allocations: 0 / 0.5117 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4099, allocations: 0 / 0.5117 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4103, allocations: 477.2 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4104, allocations: 0 / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.4104, allocations: 23.27 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4105, allocations: 2.812 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.4105, allocations: 0 / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4105, allocations: 6.125 kB / 0.5122 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4105, allocations: 4 kB / 0.5122 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.4109, allocations: 0.8369 MB / 0.513 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.411, allocations: 86.67 kB / 0.5131 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.411, allocations: 4 kB / 0.5131 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.4111, allocations: 9.953 kB / 0.5131 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.4111, allocations: 12.94 kB / 0.5131 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4111, allocations: 9.188 kB / 0.5131 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.4112, allocations: 123.3 kB / 0.5132 GB, free: 33.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4112, allocations: 0 / 0.5132 GB, free: 33.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.4115, allocations: 26.66 kB / 0.5132 GB, free: 33.34 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 (13): * Single equations (assignments): 13 * 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.0009312/0.4125, allocations: 445.7 kB / 0.5137 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.4127, allocations: 96.22 kB / 0.5138 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4127, allocations: 4 kB / 0.5138 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.4128, allocations: 58.62 kB / 0.5138 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4132, allocations: 22.52 kB / 0.5138 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.4137, allocations: 419.1 kB / 0.5142 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.4138, allocations: 0.7094 MB / 0.5149 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.4139, allocations: 19.8 kB / 0.5149 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.414, allocations: 20.47 kB / 0.515 GB, free: 32.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.414, allocations: 2.875 kB / 0.515 GB, free: 32.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003949/0.4179, allocations: 1.439 MB / 0.5164 GB, free: 31.86 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches