Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109.5 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 188 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.2 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3903, allocations: 60.83 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00328/0.3936, allocations: 1.583 MB / 0.5205 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000793/0.3945, allocations: 405.5 kB / 0.5209 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.3945, allocations: 1.094 kB / 0.5209 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3949, allocations: 68.19 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.3951, allocations: 65.48 kB / 0.521 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3954, allocations: 89.06 kB / 0.5211 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3956, allocations: 71.97 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3957, allocations: 14.09 kB / 0.5212 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.3958, allocations: 36.38 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3959, allocations: 46.95 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3959, allocations: 3.469 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.396, allocations: 47.34 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.3961, allocations: 17.58 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3961, allocations: 29.95 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3963, allocations: 91.27 kB / 0.5214 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3963, allocations: 0 / 0.5214 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3964, allocations: 0 / 0.5214 GB, free: 2.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3964, allocations: 3.938 kB / 0.5214 GB, free: 2.031 MB / 382.1 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.0004927/0.3969, allocations: 403.1 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3969, allocations: 11.12 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.397, allocations: 12.22 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3971, allocations: 193.7 kB / 0.522 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3972, allocations: 6.5 kB / 0.522 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3972, allocations: 6.469 kB / 0.522 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3974, allocations: 52.09 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3974, allocations: 0 / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3974, allocations: 2.125 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3974, allocations: 1.281 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3975, allocations: 28.09 kB / 0.5221 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.3979, allocations: 293 kB / 0.5224 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.398, allocations: 50.53 kB / 0.5224 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.3981, allocations: 18.08 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3981, allocations: 1.984 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.3981, allocations: 35.69 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3981, allocations: 4 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009175/0.399, allocations: 219.1 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3991, allocations: 56.28 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3993, allocations: 194.9 kB / 0.5229 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3994, allocations: 30.83 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3994, allocations: 103.2 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.3995, allocations: 25.25 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3995, allocations: 21.41 kB / 0.5231 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.3996, allocations: 320.8 kB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.3997, allocations: 22.47 kB / 0.5234 GB, free: 200 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.3998, allocations: 27.61 kB / 0.5235 GB, free: 192 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3999, allocations: 70.91 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3999, allocations: 1.094 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/0.4001, allocations: 95.88 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4002, allocations: 5.938 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4002, allocations: 0.5625 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.4002, allocations: 1.031 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4003, allocations: 17.28 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4003, allocations: 7.938 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.4004, allocations: 8.797 kB / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4004, allocations: 6.672 kB / 0.5237 GB, free: 88 kB / 382.1 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 0.000134/0.4006, allocations: 125.7 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.4006, allocations: 9.062 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.4009, allocations: 113.2 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4009, allocations: 1.469 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.401, allocations: 7.938 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.401, allocations: 2.094 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.4016, allocations: 402 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4016, allocations: 0.9688 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.4017, allocations: 25.05 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4017, allocations: 1.812 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.4017, allocations: 0 / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4017, allocations: 6.141 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4017, allocations: 2.031 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.402, allocations: 206.4 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.4021, allocations: 87.19 kB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.4021, allocations: 5.469 kB / 0.5246 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.4022, allocations: 9.875 kB / 0.5246 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.4022, allocations: 5.688 kB / 0.5246 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4022, allocations: 10.75 kB / 0.5246 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4024, allocations: 147.5 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4024, allocations: 0 / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.4026, allocations: 22.72 kB / 0.5248 GB, free: 15.14 MB / 398.1 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.001147/0.4038, allocations: 458.1 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.404, allocations: 64.34 kB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4041, allocations: 0 / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4042, allocations: 43.77 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4045, allocations: 22.22 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.405, allocations: 237.3 kB / 0.5256 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.4054, allocations: 0.7038 MB / 0.5263 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.4054, allocations: 18.23 kB / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.4055, allocations: 14.16 kB / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4055, allocations: 0 / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of Templates: time 0.004607/0.4101, allocations: 1.339 MB / 0.5276 GB, free: 13.62 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches