Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3508, allocations: 65.48 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00383/0.3546, allocations: 1.705 MB / 0.5595 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3564, allocations: 0.9754 MB / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.3565, allocations: 0 / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.3568, allocations: 39.78 kB / 0.5605 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.3573, allocations: 95.59 kB / 0.5605 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3575, allocations: 79.67 kB / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.3577, allocations: 103.7 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3578, allocations: 9.828 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3579, allocations: 47.77 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.358, allocations: 35.8 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3581, allocations: 4 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3582, allocations: 43.97 kB / 0.5609 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.3583, allocations: 23.86 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.3583, allocations: 23.86 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.3586, allocations: 115.5 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3586, allocations: 7.938 kB / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3586, allocations: 4 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3586, allocations: 0 / 0.561 GB, free: 4.203 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.0008026/0.3594, allocations: 341.6 kB / 0.5613 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.3595, allocations: 12.03 kB / 0.5614 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.643e-05/0.3595, allocations: 192 / 0.5614 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.3595, allocations: 34.75 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3596, allocations: 12.84 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.36, allocations: 150.3 kB / 0.5615 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.36, allocations: 4.125 kB / 0.5615 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.36, allocations: 8 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3602, allocations: 61.61 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3602, allocations: 0 / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3602, allocations: 4 kB / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3603, allocations: 0 / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.3603, allocations: 23.97 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3608, allocations: 252 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.3611, allocations: 54.62 kB / 0.5619 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.3611, allocations: 24.84 kB / 0.562 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3611, allocations: 3.938 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3613, allocations: 71.39 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3613, allocations: 0 / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006162/0.3619, allocations: 185.2 kB / 0.5622 GB, free: 2.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.362, allocations: 63.41 kB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3622, allocations: 183.2 kB / 0.5624 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3622, allocations: 25.7 kB / 0.5625 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.3623, allocations: 108.1 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.3623, allocations: 19.84 kB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3624, allocations: 21.72 kB / 0.5626 GB, free: 2.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3625, allocations: 330.8 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.3626, allocations: 23.98 kB / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.3627, allocations: 41.64 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3628, allocations: 61.77 kB / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3628, allocations: 4 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.363, allocations: 101.9 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.363, allocations: 8 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.363, allocations: 0 / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.363, allocations: 0 / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.3631, allocations: 20.03 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.3631, allocations: 7.938 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.3632, allocations: 11.92 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3632, allocations: 4 kB / 0.5632 GB, free: 1.762 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.000124/0.3633, allocations: 121.8 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3633, allocations: 7.953 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3637, allocations: 131 kB / 0.5634 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3637, allocations: 3.984 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3637, allocations: 3.938 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3637, allocations: 7.984 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.3642, allocations: 366.4 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3642, allocations: 288 / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.3643, allocations: 8 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3643, allocations: 3.938 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3643, allocations: 7.938 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3643, allocations: 0 / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3643, allocations: 0 / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.3646, allocations: 220.2 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.3646, allocations: 11.92 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.3646, allocations: 4 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.3647, allocations: 8 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3648, allocations: 7.984 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3648, allocations: 4 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3649, allocations: 141.8 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3649, allocations: 0 / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3652, allocations: 20 kB / 0.5642 GB, free: 0.6094 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 (9): * Single equations (assignments): 7 * 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.002343/0.3675, allocations: 1.142 MB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3678, allocations: 71.81 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3678, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.3678, allocations: 31.92 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3683, allocations: 31.2 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3702, allocations: 1.647 MB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.986e-05/0.3703, allocations: 92.19 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.3704, allocations: 16.97 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.3704, allocations: 43.36 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3704, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3934, allocations: 3.757 MB / 0.5709 GB, free: 9.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 10.64 kB / 0.5709 GB, free: 9.934 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.79549325001426] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.065129484981298 12.08462413 11.722856271 Calling exit ...