Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 206.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 83.86 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3678, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003093/0.3709, allocations: 1.735 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3727, allocations: 1.02 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.3728, allocations: 1.375 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.3732, allocations: 42.77 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.3735, allocations: 91.09 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3737, allocations: 86.91 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3739, allocations: 102.3 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.374, allocations: 10.88 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.3741, allocations: 48.22 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.3742, allocations: 37.34 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3742, allocations: 4.125 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.3743, allocations: 39.48 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.3744, allocations: 22.78 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.3745, allocations: 40 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3747, allocations: 122 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3747, allocations: 1.312 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3747, allocations: 0 / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3747, allocations: 0 / 0.5351 GB, free: 11.06 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.000583/0.3753, allocations: 418.9 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3754, allocations: 9 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.3754, allocations: 10.56 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3757, allocations: 220.7 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3758, allocations: 1.625 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3758, allocations: 6.688 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.376, allocations: 53.33 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.376, allocations: 5.406 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.376, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.376, allocations: 0.75 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.3761, allocations: 22.8 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3765, allocations: 290.1 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3767, allocations: 58.48 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.3767, allocations: 17.05 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3768, allocations: 4.938 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.3769, allocations: 73.47 kB / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3769, allocations: 0 / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005686/0.3775, allocations: 171 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3776, allocations: 52.44 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3778, allocations: 192.6 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3778, allocations: 30.8 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3779, allocations: 100.6 kB / 0.5367 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3779, allocations: 28.2 kB / 0.5367 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.378, allocations: 24.53 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3781, allocations: 326.3 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.3782, allocations: 22.73 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.3782, allocations: 43.41 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3784, allocations: 62.67 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3784, allocations: 0 / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.3786, allocations: 104 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3786, allocations: 7.281 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3786, allocations: 5.625 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3786, allocations: 1.156 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.3787, allocations: 20.72 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3787, allocations: 5.156 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.3788, allocations: 10.03 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3788, allocations: 2.781 kB / 0.5373 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 (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.0001109/0.3789, allocations: 126.7 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.379, allocations: 10.34 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.379, allocations: 19.09 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.379, allocations: 0 / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.379, allocations: 0 / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.379, allocations: 9.766 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.3795, allocations: 393 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3795, allocations: 1.344 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.3796, allocations: 11.56 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3796, allocations: 5.375 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3796, allocations: 9.234 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3796, allocations: 1.5 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3796, allocations: 0 / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.3798, allocations: 200.3 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3799, allocations: 89.27 kB / 0.5382 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3799, allocations: 9 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.38, allocations: 6.547 kB / 0.5382 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3801, allocations: 10.56 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3801, allocations: 3.812 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3802, allocations: 153.3 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3802, allocations: 0 / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3805, allocations: 24.16 kB / 0.5384 GB, free: 7.934 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.001089/0.3816, allocations: 457.9 kB / 0.5388 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3818, allocations: 61.75 kB / 0.5389 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3818, allocations: 1.094 kB / 0.5389 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.3819, allocations: 25.36 kB / 0.5389 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3823, allocations: 31.91 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.3828, allocations: 262.3 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3831, allocations: 0.7106 MB / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3831, allocations: 15.5 kB / 0.5399 GB, free: 6.711 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3832, allocations: 0 / 0.5399 GB, free: 6.711 MB / 398.1 MB Notification: Performance of Templates: time 0.004021/0.3872, allocations: 1.964 MB / 0.5418 GB, free: 5.695 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches