Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2585/0.2585, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 75.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4214, allocations: 62.43 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00505/0.4266, allocations: 1.747 MB / 0.5328 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.4295, allocations: 1.038 MB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.4296, allocations: 1.375 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.4301, allocations: 36.02 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.4305, allocations: 99.03 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.4309, allocations: 82.91 kB / 0.534 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.4312, allocations: 107.7 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.4313, allocations: 6.875 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.4315, allocations: 53.64 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4316, allocations: 45.47 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.4316, allocations: 5.5 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.4319, allocations: 116.4 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.432, allocations: 21.41 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4321, allocations: 36 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.4326, allocations: 175.4 kB / 0.5345 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4326, allocations: 0 / 0.5345 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4326, allocations: 0 / 0.5345 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4327, allocations: 0 / 0.5345 GB, free: 11.17 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.0009658/0.4336, allocations: 428.6 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.4337, allocations: 9.375 kB / 0.535 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.4338, allocations: 9.344 kB / 0.535 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.4343, allocations: 226.2 kB / 0.5352 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.4344, allocations: 6.875 kB / 0.5352 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.4344, allocations: 10.25 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.4348, allocations: 65.73 kB / 0.5353 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4348, allocations: 4 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.4348, allocations: 1.062 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4348, allocations: 1.25 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.435, allocations: 18.33 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.4357, allocations: 283.2 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.436, allocations: 71.3 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.4361, allocations: 30.16 kB / 0.5357 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.4362, allocations: 1.156 kB / 0.5357 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4364, allocations: 70.89 kB / 0.5357 GB, free: 9.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.4364, allocations: 0 / 0.5357 GB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009393/0.4374, allocations: 205.2 kB / 0.5359 GB, free: 9.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.4375, allocations: 78.3 kB / 0.536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4377, allocations: 168.4 kB / 0.5362 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4378, allocations: 26.92 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.4379, allocations: 104.8 kB / 0.5363 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.4379, allocations: 27.91 kB / 0.5363 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.438, allocations: 30.98 kB / 0.5363 GB, free: 9.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.4383, allocations: 322.2 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4384, allocations: 27.36 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4385, allocations: 54.28 kB / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.4387, allocations: 84 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4387, allocations: 0 / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003377/0.4391, allocations: 127.9 kB / 0.5369 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4391, allocations: 5.156 kB / 0.5369 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4391, allocations: 1.188 kB / 0.5369 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4392, allocations: 1.156 kB / 0.5369 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4393, allocations: 25.02 kB / 0.537 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4393, allocations: 1.375 kB / 0.537 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.4394, allocations: 10.28 kB / 0.537 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4394, allocations: 7.562 kB / 0.537 GB, free: 8.898 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 (13): * Single equations (assignments): 13 * 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.000144/0.4396, allocations: 125.1 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.4397, allocations: 13.02 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.4397, allocations: 12.53 kB / 0.5371 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4397, allocations: 1.156 kB / 0.5371 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4397, allocations: 4 kB / 0.5371 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4398, allocations: 3.938 kB / 0.5371 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.4405, allocations: 426.9 kB / 0.5375 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4405, allocations: 1.188 kB / 0.5375 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.4406, allocations: 17.84 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4406, allocations: 5.312 kB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4406, allocations: 1.312 kB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4406, allocations: 1.344 kB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4406, allocations: 4.031 kB / 0.5376 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.4411, allocations: 220.8 kB / 0.5378 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.4412, allocations: 91.62 kB / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.4412, allocations: 5.406 kB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4414, allocations: 6.453 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.4414, allocations: 4.438 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.4414, allocations: 7.094 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4416, allocations: 133 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4416, allocations: 0 / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000515/0.4421, allocations: 52.61 kB / 0.5381 GB, free: 7.91 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 (10): * Single equations (assignments): 8 * 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.001954/0.4441, allocations: 0.5418 MB / 0.5386 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4444, allocations: 85.53 kB / 0.5387 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4445, allocations: 0 / 0.5387 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4446, allocations: 33.33 kB / 0.5387 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.4451, allocations: 32.55 kB / 0.5387 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.4458, allocations: 233.9 kB / 0.539 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.4463, allocations: 0.697 MB / 0.5396 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.4465, allocations: 29.36 kB / 0.5397 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.4466, allocations: 26.39 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4466, allocations: 0 / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of Templates: time 0.008223/0.4548, allocations: 2.515 MB / 0.5421 GB, free: 5.348 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches