Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 75.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.477, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003679/0.4807, allocations: 1.685 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.483, allocations: 0.9937 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.4831, allocations: 1.156 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.4836, allocations: 62.81 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.4841, allocations: 113.8 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.4843, allocations: 73.8 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.4846, allocations: 107.4 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.4846, allocations: 4.703 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.4848, allocations: 47.84 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.4849, allocations: 48.42 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4849, allocations: 3.406 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.4851, allocations: 32.23 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.4852, allocations: 18.98 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.4852, allocations: 35.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4855, allocations: 113.2 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4855, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4856, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4856, allocations: 1.375 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007318/0.4863, allocations: 412.2 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4864, allocations: 9.625 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.4864, allocations: 12.95 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.4869, allocations: 213.3 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4869, allocations: 5.75 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.4869, allocations: 9.5 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.4871, allocations: 47.3 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4871, allocations: 0 / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4872, allocations: 1.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4872, allocations: 0 / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.4873, allocations: 16.19 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.4876, allocations: 183.4 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.4878, allocations: 55.19 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.4879, allocations: 25.03 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.4879, allocations: 0 / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.4881, allocations: 68.98 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.4881, allocations: 0 / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003567/0.4885, allocations: 96.08 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.4885, allocations: 51.41 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4888, allocations: 196.6 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.083e-05/0.4889, allocations: 26.77 kB / 0.5357 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.489, allocations: 100.4 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.489, allocations: 22.53 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.4891, allocations: 26.28 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003037/0.4894, allocations: 322.3 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.4895, allocations: 15.66 kB / 0.5361 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.4896, allocations: 36.27 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4897, allocations: 43.08 kB / 0.5362 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4897, allocations: 3.938 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.4899, allocations: 84.06 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4899, allocations: 5.531 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4899, allocations: 4.031 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.49, allocations: 1.062 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.4901, allocations: 12.59 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4901, allocations: 1.094 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.4901, allocations: 6.141 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.4901, allocations: 2.469 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001406/0.4903, allocations: 123.3 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4903, allocations: 17.19 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.4904, allocations: 13.23 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4904, allocations: 5.031 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4904, allocations: 4 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4904, allocations: 0 / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.4906, allocations: 189.7 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4906, allocations: 3.938 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.4906, allocations: 3.75 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4907, allocations: 1.062 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4907, allocations: 5.438 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4907, allocations: 0 / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4907, allocations: 0 / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.4909, allocations: 114.4 kB / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.491, allocations: 83.61 kB / 0.5369 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.491, allocations: 5.5 kB / 0.5369 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.4911, allocations: 5.078 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.4911, allocations: 2.469 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4911, allocations: 2.125 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4913, allocations: 151.4 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4913, allocations: 5.188 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.4915, allocations: 21 kB / 0.5371 GB, free: 8.41 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001113/0.4926, allocations: 422.7 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.4928, allocations: 38.97 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4928, allocations: 0 / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.4929, allocations: 28.06 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4932, allocations: 28.38 kB / 0.5376 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.4937, allocations: 191.2 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4941, allocations: 0.7045 MB / 0.5384 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.4941, allocations: 15.84 kB / 0.5384 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.4942, allocations: 14.47 kB / 0.5385 GB, free: 7.254 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4942, allocations: 0 / 0.5385 GB, free: 7.254 MB / 398.1 MB Notification: Performance of Templates: time 0.005294/0.4995, allocations: 1.515 MB / 0.5399 GB, free: 6.48 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches