Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001365/0.001365, allocations: 183.1 kB / 18.71 MB, free: 4.344 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2191/0.2191, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3827, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00329/0.386, allocations: 1.571 MB / 0.5204 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007519/0.3868, allocations: 397.1 kB / 0.5208 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.3869, allocations: 4.969 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.3871, allocations: 21.48 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.3873, allocations: 32.31 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3876, allocations: 97.31 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3877, allocations: 49.94 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3878, allocations: 12.86 kB / 0.521 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.3879, allocations: 25.5 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.388, allocations: 24.22 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.388, allocations: 2.281 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.527e-05/0.3881, allocations: 34.56 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.3881, allocations: 10 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.3882, allocations: 21.03 kB / 0.5211 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3884, allocations: 81.77 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3884, allocations: 1.188 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3884, allocations: 0.75 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3884, allocations: 0 / 0.5212 GB, free: 2.051 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.0004249/0.3888, allocations: 382.6 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3889, allocations: 10.09 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.3889, allocations: 4.047 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3891, allocations: 198 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3891, allocations: 1.5 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3891, allocations: 1.438 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3892, allocations: 53.48 kB / 0.5218 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3893, allocations: 1.781 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3893, allocations: 0 / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3893, allocations: 4 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.004e-05/0.3894, allocations: 22.55 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.3897, allocations: 274.2 kB / 0.5221 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3899, allocations: 40.03 kB / 0.5222 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.3899, allocations: 16.73 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.39, allocations: 5.938 kB / 0.5222 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.39, allocations: 31.69 kB / 0.5222 GB, free: 1.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.39, allocations: 0 / 0.5222 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005378/0.3905, allocations: 139.4 kB / 0.5224 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3906, allocations: 57.56 kB / 0.5224 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3907, allocations: 155.9 kB / 0.5226 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3907, allocations: 27.94 kB / 0.5226 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.3907, allocations: 100.7 kB / 0.5227 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.3908, allocations: 11.12 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3908, allocations: 19.39 kB / 0.5227 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.3909, allocations: 327 kB / 0.523 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.3909, allocations: 18.41 kB / 0.523 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.391, allocations: 19.8 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.3911, allocations: 46.23 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3911, allocations: 0 / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.3913, allocations: 77.5 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3913, allocations: 5.438 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3914, allocations: 256 / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3914, allocations: 5.156 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.3914, allocations: 24.48 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3915, allocations: 4 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.3915, allocations: 5.641 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3915, allocations: 5.094 kB / 0.5232 GB, free: 216 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 5.812e-05/0.3916, allocations: 116.7 kB / 0.5233 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.3916, allocations: 8 kB / 0.5233 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.3918, allocations: 86.05 kB / 0.5234 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3918, allocations: 1.469 kB / 0.5234 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3919, allocations: 4 kB / 0.5234 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3919, allocations: 0.6094 kB / 0.5234 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.3923, allocations: 346.7 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3923, allocations: 3.984 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.3924, allocations: 12.42 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3924, allocations: 1.188 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3924, allocations: 0.7969 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3924, allocations: 5.062 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3924, allocations: 4 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.3926, allocations: 177.8 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.3927, allocations: 82.84 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3927, allocations: 1.891 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.3928, allocations: 17.06 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3928, allocations: 2.812 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3928, allocations: 7.406 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.3929, allocations: 117.6 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3929, allocations: 0 / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3932, allocations: 15.14 kB / 0.5242 GB, free: 15.34 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.0009382/0.3941, allocations: 398.9 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3944, allocations: 47.66 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3944, allocations: 5.031 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3945, allocations: 23.89 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3948, allocations: 17.61 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.3953, allocations: 179.6 kB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3956, allocations: 0.6971 MB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.3956, allocations: 13.05 kB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3957, allocations: 13.53 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3957, allocations: 0 / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of Templates: time 0.004092/0.3998, allocations: 1.108 MB / 0.5266 GB, free: 14.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches