Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001432/0.001432, allocations: 183.9 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.453/1.453, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2304/0.2304, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3699, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002618/0.3725, allocations: 1.568 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.3732, allocations: 400.7 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.3733, allocations: 1.312 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3735, allocations: 29.25 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3737, allocations: 36.55 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.374, allocations: 114.8 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3741, allocations: 55.64 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.3742, allocations: 12.75 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.3743, allocations: 22.3 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.3743, allocations: 20.91 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3743, allocations: 2.594 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.3744, allocations: 34.25 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.3745, allocations: 19.02 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.3745, allocations: 19.89 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3747, allocations: 75.64 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3747, allocations: 0 / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3747, allocations: 0 / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3747, allocations: 0.75 kB / 0.5213 GB, free: 2.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004197/0.3751, allocations: 381 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3752, allocations: 9.188 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3752, allocations: 4.375 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3754, allocations: 198.6 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3754, allocations: 1.844 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3754, allocations: 1.688 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3756, allocations: 51.53 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.3756, allocations: 0 / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3756, allocations: 8 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3756, allocations: 1.438 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.3757, allocations: 22.62 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.376, allocations: 276.7 kB / 0.5222 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3762, allocations: 46.19 kB / 0.5222 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.3763, allocations: 23.28 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3763, allocations: 0.5625 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3764, allocations: 32.97 kB / 0.5223 GB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3764, allocations: 0 / 0.5223 GB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006177/0.377, allocations: 150.9 kB / 0.5224 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.377, allocations: 61 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3772, allocations: 151.4 kB / 0.5226 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.3772, allocations: 29.7 kB / 0.5226 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.3772, allocations: 101.4 kB / 0.5227 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3772, allocations: 11.77 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3773, allocations: 18.22 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.3773, allocations: 324.2 kB / 0.5231 GB, free: 316 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.3774, allocations: 20.48 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.3775, allocations: 25.3 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3776, allocations: 55.81 kB / 0.5232 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3776, allocations: 3.938 kB / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001861/0.3778, allocations: 81.38 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3779, allocations: 6.438 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3779, allocations: 3.984 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3779, allocations: 4 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.378, allocations: 16.97 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.378, allocations: 0.6562 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.378, allocations: 9.578 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.378, allocations: 5.156 kB / 0.5233 GB, free: 212 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 (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.625e-05/0.3781, allocations: 121.8 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3782, allocations: 7.281 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3784, allocations: 98.27 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3784, allocations: 1.156 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.3784, allocations: 0.7969 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3784, allocations: 0.9375 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.3789, allocations: 354 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.379, allocations: 4.812 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.379, allocations: 11.88 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.379, allocations: 0 / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.379, allocations: 5.844 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.379, allocations: 3.938 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3791, allocations: 1.766 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3793, allocations: 181.6 kB / 0.5241 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.3794, allocations: 88 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3794, allocations: 0.75 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.3795, allocations: 16.8 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3795, allocations: 4.109 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3795, allocations: 1.531 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3797, allocations: 121.5 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3797, allocations: 0 / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.3799, allocations: 14.95 kB / 0.5243 GB, free: 15.33 MB / 398.1 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.0009948/0.3809, allocations: 409.5 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3812, allocations: 52.25 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3812, allocations: 0 / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.3813, allocations: 29.86 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3817, allocations: 17.16 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3821, allocations: 180.2 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3824, allocations: 0.7009 MB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.3825, allocations: 11.5 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.3825, allocations: 11.89 kB / 0.5257 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3825, allocations: 0 / 0.5257 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.003794/0.3863, allocations: 1.124 MB / 0.5268 GB, free: 14.08 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches