Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 110.4 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.001323/0.001323, allocations: 187.1 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.503/1.503, 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.2554/0.2554, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.86 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4825, allocations: 60.81 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003324/0.4859, allocations: 1.589 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.4868, allocations: 413.8 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.4869, allocations: 1.219 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.4873, allocations: 93.3 kB / 0.521 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.4876, allocations: 69.95 kB / 0.521 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.4879, allocations: 108.6 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.4881, allocations: 75.88 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4883, allocations: 15.8 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.4884, allocations: 42.5 kB / 0.5213 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4885, allocations: 54.02 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.4885, allocations: 3.656 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.4887, allocations: 42.88 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.4887, allocations: 19.84 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.4888, allocations: 30.64 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.489, allocations: 107.3 kB / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.489, allocations: 0 / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.489, allocations: 3.938 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.489, allocations: 1.25 kB / 0.5215 GB, free: 2.004 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.0004735/0.4895, allocations: 411.5 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4896, allocations: 9.906 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.4896, allocations: 17.94 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.4898, allocations: 199.8 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4898, allocations: 5.594 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4898, allocations: 2.562 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.49, allocations: 56.94 kB / 0.5222 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.49, allocations: 5.484 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.49, allocations: 0 / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4901, allocations: 1 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4902, allocations: 30.16 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.4906, allocations: 299.9 kB / 0.5225 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.4908, allocations: 48.09 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.4908, allocations: 18.88 kB / 0.5226 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.4909, allocations: 6.172 kB / 0.5226 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4909, allocations: 35.94 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4909, allocations: 0 / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009473/0.4918, allocations: 242.9 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.4919, allocations: 56.38 kB / 0.5229 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.4921, allocations: 225.9 kB / 0.5231 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.4921, allocations: 29.7 kB / 0.5231 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4922, allocations: 109.8 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4922, allocations: 21.08 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.4923, allocations: 25.66 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.4924, allocations: 326.5 kB / 0.5236 GB, free: 136 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.4924, allocations: 38.42 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.4925, allocations: 28.2 kB / 0.5237 GB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.4927, allocations: 70.86 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4927, allocations: 0 / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002148/0.4929, allocations: 116.7 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4929, allocations: 6.156 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.493, allocations: 0 / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.493, allocations: 4.844 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4931, allocations: 24.59 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4931, allocations: 6.203 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.4931, allocations: 4.391 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.4932, allocations: 1.406 kB / 0.5239 GB, free: 8 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.0001324/0.4933, allocations: 130.6 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.4933, allocations: 10.41 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.4937, allocations: 130.6 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4937, allocations: 5.906 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4937, allocations: 5.219 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4937, allocations: 0.5625 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.4943, allocations: 422.4 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4943, allocations: 0.6094 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.4944, allocations: 21.12 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4944, allocations: 5.062 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4944, allocations: 2.062 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4944, allocations: 1.031 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4944, allocations: 1.031 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.4947, allocations: 214.1 kB / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.4948, allocations: 95.83 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4948, allocations: 3.344 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.4949, allocations: 9.031 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.495, allocations: 4.781 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.495, allocations: 6.844 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.4951, allocations: 174.8 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4951, allocations: 0 / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.4954, allocations: 18.58 kB / 0.5251 GB, free: 15.04 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.001157/0.4966, allocations: 464 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.4968, allocations: 76.17 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4968, allocations: 4 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.4969, allocations: 38.62 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.4973, allocations: 25.16 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.4979, allocations: 270 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4982, allocations: 0.7152 MB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.521e-05/0.4983, allocations: 28.61 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.4984, allocations: 13.78 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4984, allocations: 1.375 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.004861/0.5032, allocations: 1.387 MB / 0.528 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches