Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 84.08 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4791, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003718/0.4829, allocations: 1.921 MB / 0.533 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.485, allocations: 1.116 MB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.4851, allocations: 2.156 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.4857, allocations: 226.9 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.4862, allocations: 221.6 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.4865, allocations: 120.5 kB / 0.5346 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.4868, allocations: 254.6 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.487, allocations: 36.78 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.4872, allocations: 126.4 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.4875, allocations: 156.8 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.4875, allocations: 8.625 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.4876, allocations: 63.08 kB / 0.5352 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4877, allocations: 65.34 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.4879, allocations: 83.84 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.4882, allocations: 239 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4882, allocations: 0 / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4882, allocations: 0 / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4883, allocations: 4 kB / 0.5356 GB, free: 10.3 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000829/0.4891, allocations: 0.5677 MB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4891, allocations: 9.656 kB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.4892, allocations: 25.75 kB / 0.5362 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.4897, allocations: 287.5 kB / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4897, allocations: 6.781 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.4897, allocations: 10 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.49, allocations: 115.2 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.49, allocations: 0.9688 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4901, allocations: 1.25 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4901, allocations: 1.125 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.4902, allocations: 49.61 kB / 0.5366 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.4909, allocations: 482.6 kB / 0.5371 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.4913, allocations: 126.2 kB / 0.5372 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4914, allocations: 45.36 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4914, allocations: 1.281 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.4917, allocations: 124.9 kB / 0.5374 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4917, allocations: 0 / 0.5374 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001447/0.4931, allocations: 0.4958 MB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.4932, allocations: 87.48 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.4938, allocations: 445.4 kB / 0.5384 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.4938, allocations: 31.02 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.494, allocations: 163.7 kB / 0.5386 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.4941, allocations: 73.05 kB / 0.5386 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.4941, allocations: 46.11 kB / 0.5387 GB, free: 7.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4944, allocations: 341.2 kB / 0.539 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4945, allocations: 61.78 kB / 0.5391 GB, free: 7.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.4947, allocations: 94.66 kB / 0.5392 GB, free: 7.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.495, allocations: 158 kB / 0.5393 GB, free: 7.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.495, allocations: 3.938 kB / 0.5393 GB, free: 7.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004296/0.4954, allocations: 238.8 kB / 0.5395 GB, free: 7.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4955, allocations: 8.406 kB / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4955, allocations: 1.156 kB / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4955, allocations: 1.969 kB / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4957, allocations: 46.38 kB / 0.5396 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4957, allocations: 3.188 kB / 0.5396 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.4958, allocations: 7.812 kB / 0.5396 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4958, allocations: 10.88 kB / 0.5396 GB, free: 7.062 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001868/0.496, allocations: 172.8 kB / 0.5398 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.4961, allocations: 42.73 kB / 0.5398 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.862e-05/0.4962, allocations: 39.97 kB / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4962, allocations: 2.5 kB / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4962, allocations: 0 / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4962, allocations: 1.219 kB / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009773/0.4972, allocations: 0.731 MB / 0.5406 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4972, allocations: 2.219 kB / 0.5406 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.4973, allocations: 35.86 kB / 0.5406 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4973, allocations: 2.719 kB / 0.5406 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.4973, allocations: 3.156 kB / 0.5406 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4973, allocations: 6.688 kB / 0.5406 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4973, allocations: 5.391 kB / 0.5406 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.498, allocations: 420.3 kB / 0.541 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.4981, allocations: 105.9 kB / 0.5411 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.4982, allocations: 11.23 kB / 0.5411 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4983, allocations: 8.594 kB / 0.5411 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.4984, allocations: 25.16 kB / 0.5412 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.4984, allocations: 8.25 kB / 0.5412 GB, free: 5.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.4988, allocations: 338.9 kB / 0.5415 GB, free: 5.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4989, allocations: 3.938 kB / 0.5415 GB, free: 5.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.4992, allocations: 52.86 kB / 0.5416 GB, free: 5.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001268/0.5005, allocations: 0.4976 MB / 0.542 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.5009, allocations: 154 kB / 0.5422 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5009, allocations: 1.5 kB / 0.5422 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5011, allocations: 82.94 kB / 0.5423 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.5017, allocations: 81.06 kB / 0.5423 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.5027, allocations: 0.554 MB / 0.5429 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.5032, allocations: 0.7833 MB / 0.5436 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.5033, allocations: 31.97 kB / 0.5437 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.5034, allocations: 31.14 kB / 0.5437 GB, free: 4.016 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5034, allocations: 0 / 0.5437 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Templates: time 0.007231/0.5107, allocations: 3.175 MB / 0.5468 GB, free: 1.348 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches