Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 117.8 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.001974/0.001974, allocations: 201.2 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.451/1.451, 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.2323/0.2323, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 75.88 kB / 481.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4866, allocations: 62.45 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004579/0.4912, allocations: 1.732 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.493, allocations: 1.018 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.593e-05/0.4931, allocations: 5.312 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.4935, allocations: 53.69 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.4938, allocations: 99.16 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.494, allocations: 82.91 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.4942, allocations: 96.95 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.4943, allocations: 18.86 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.4945, allocations: 44.28 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.4946, allocations: 34.78 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.4946, allocations: 2.75 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4947, allocations: 44.8 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.4948, allocations: 26.91 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.4948, allocations: 41.31 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.4951, allocations: 140.8 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4951, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4951, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.4951, allocations: 0 / 0.5344 GB, free: 11.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006397/0.4958, allocations: 446.2 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4958, allocations: 10.06 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.4959, allocations: 19.39 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.4962, allocations: 227.3 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4963, allocations: 1.438 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4963, allocations: 7.062 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4965, allocations: 53.83 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4965, allocations: 0 / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4965, allocations: 5.031 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4965, allocations: 5.406 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.4966, allocations: 22.17 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.4971, allocations: 303.7 kB / 0.5355 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.4974, allocations: 53.64 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.4975, allocations: 22.08 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4976, allocations: 1.125 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.4978, allocations: 68.3 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4978, allocations: 0 / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007039/0.4985, allocations: 180.9 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.4986, allocations: 60.56 kB / 0.5358 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.499, allocations: 275.5 kB / 0.5361 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.499, allocations: 26.77 kB / 0.5361 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4991, allocations: 115.5 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.4992, allocations: 23.88 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.4992, allocations: 28.55 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4994, allocations: 327.4 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.4996, allocations: 23.52 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.4997, allocations: 35.84 kB / 0.5367 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4999, allocations: 68.27 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4999, allocations: 0 / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002649/0.5002, allocations: 103.3 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5002, allocations: 6.312 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5002, allocations: 0 / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5002, allocations: 1.469 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5004, allocations: 16.94 kB / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5004, allocations: 5.406 kB / 0.5369 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.5005, allocations: 9.297 kB / 0.5369 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5005, allocations: 6.719 kB / 0.5369 GB, free: 8.793 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 (10): * Single equations (assignments): 10 * 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.0001621/0.5007, allocations: 133.4 kB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.5007, allocations: 15.81 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.5008, allocations: 21.42 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5008, allocations: 0 / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5008, allocations: 1.438 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5008, allocations: 7.938 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.5014, allocations: 412.3 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5014, allocations: 5.406 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.5015, allocations: 7.125 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.5015, allocations: 0.8125 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.5015, allocations: 5.562 kB / 0.5375 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5015, allocations: 1.438 kB / 0.5375 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5016, allocations: 3.938 kB / 0.5375 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.5019, allocations: 210.2 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.502, allocations: 85.2 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.5021, allocations: 5.156 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.5021, allocations: 1.969 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.5022, allocations: 16.53 kB / 0.5378 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5022, allocations: 3.25 kB / 0.5378 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.5024, allocations: 206.3 kB / 0.538 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5024, allocations: 0 / 0.538 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.5027, allocations: 26.39 kB / 0.538 GB, free: 7.801 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: 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 (8): * Single equations (assignments): 6 * 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.001117/0.5038, allocations: 473.9 kB / 0.5384 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.5041, allocations: 53.84 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5041, allocations: 3.938 kB / 0.5385 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.5042, allocations: 29.31 kB / 0.5385 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.5045, allocations: 32.94 kB / 0.5386 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.5051, allocations: 284 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.5055, allocations: 0.721 MB / 0.5395 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.5056, allocations: 18.92 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.5056, allocations: 15.22 kB / 0.5396 GB, free: 6.566 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5056, allocations: 0 / 0.5396 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Templates: time 0.006278/0.5119, allocations: 1.778 MB / 0.5413 GB, free: 5.668 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches