Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 76.09 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4762, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003514/0.4798, allocations: 1.768 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4819, allocations: 1.031 MB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.482, allocations: 1.594 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.4825, allocations: 114.9 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.483, allocations: 125 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.4833, allocations: 83.97 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.4836, allocations: 134.1 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.4838, allocations: 23.64 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.4839, allocations: 62.41 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.4841, allocations: 73 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.4841, allocations: 5.781 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.4843, allocations: 63.19 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.4844, allocations: 28.83 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.4845, allocations: 54.47 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.4848, allocations: 164.2 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4848, allocations: 0 / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4849, allocations: 1.375 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4849, allocations: 0 / 0.5347 GB, free: 10.85 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007589/0.4856, allocations: 471.5 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4857, allocations: 9.625 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.4858, allocations: 19.66 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.4861, allocations: 227 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4861, allocations: 5.75 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.4862, allocations: 12.25 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.4864, allocations: 74.22 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4864, allocations: 3.953 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4864, allocations: 1.375 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4864, allocations: 1.375 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.4866, allocations: 34.81 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.4871, allocations: 332.3 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.4874, allocations: 81.36 kB / 0.5359 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.4875, allocations: 30.09 kB / 0.536 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4875, allocations: 0.9688 kB / 0.536 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4877, allocations: 74.66 kB / 0.536 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4877, allocations: 0 / 0.536 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009434/0.4887, allocations: 310.3 kB / 0.5363 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4887, allocations: 53.22 kB / 0.5364 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.489, allocations: 258.5 kB / 0.5366 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.4891, allocations: 32.92 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.4892, allocations: 115.2 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.4892, allocations: 51.59 kB / 0.5368 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.4893, allocations: 27.66 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4894, allocations: 336.7 kB / 0.5372 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.4895, allocations: 43.7 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.4896, allocations: 55.38 kB / 0.5373 GB, free: 8.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.4898, allocations: 96.27 kB / 0.5374 GB, free: 8.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4898, allocations: 0 / 0.5374 GB, free: 8.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000299/0.4901, allocations: 169.7 kB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4902, allocations: 4.531 kB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4902, allocations: 1.281 kB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4902, allocations: 5.031 kB / 0.5375 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4903, allocations: 26.23 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4903, allocations: 0.9375 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.384e-05/0.4904, allocations: 14.19 kB / 0.5376 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4904, allocations: 4.656 kB / 0.5376 GB, free: 8.387 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 (16): * Single equations (assignments): 16 * 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.0001306/0.4905, allocations: 144.7 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.4906, allocations: 24.23 kB / 0.5377 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.4907, allocations: 26.23 kB / 0.5378 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4907, allocations: 5.375 kB / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4907, allocations: 1.656 kB / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4907, allocations: 0 / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.4914, allocations: 0.5004 MB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4914, allocations: 1.25 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.4915, allocations: 24.27 kB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4915, allocations: 1.156 kB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.4915, allocations: 6.531 kB / 0.5383 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4915, allocations: 1.312 kB / 0.5383 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4915, allocations: 1.219 kB / 0.5383 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.4919, allocations: 265.1 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.4919, allocations: 96.97 kB / 0.5386 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.492, allocations: 7.281 kB / 0.5386 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.4921, allocations: 2.281 kB / 0.5386 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.4921, allocations: 9.641 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.4922, allocations: 13.66 kB / 0.5387 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.4923, allocations: 196.6 kB / 0.5389 GB, free: 7.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4924, allocations: 0 / 0.5389 GB, free: 7.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4927, allocations: 35.53 kB / 0.5389 GB, free: 7.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.001278/0.4939, allocations: 0.505 MB / 0.5394 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.4942, allocations: 106.6 kB / 0.5395 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4942, allocations: 1.156 kB / 0.5395 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4944, allocations: 50.36 kB / 0.5395 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.4948, allocations: 41.25 kB / 0.5396 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.4954, allocations: 323 kB / 0.5399 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.4958, allocations: 0.7302 MB / 0.5406 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.4959, allocations: 29.09 kB / 0.5406 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.496, allocations: 22.95 kB / 0.5406 GB, free: 5.949 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.496, allocations: 0 / 0.5406 GB, free: 5.949 MB / 398.1 MB Notification: Performance of Templates: time 0.005916/0.5019, allocations: 2.208 MB / 0.5428 GB, free: 4.844 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches