Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001318/0.001318, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001665/0.001665, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 46.93 MB / 360.9 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.89 kB / 0.4962 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3671, allocations: 66.03 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003663/0.3708, allocations: 2.05 MB / 0.5627 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3728, allocations: 1.138 MB / 0.5638 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3729, allocations: 7.938 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3732, allocations: 51.69 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.3736, allocations: 111.4 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.374, allocations: 115.6 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.3743, allocations: 207.3 kB / 0.5643 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3744, allocations: 23.62 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3746, allocations: 83.7 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3747, allocations: 83.55 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.3748, allocations: 12 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3749, allocations: 51.98 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.375, allocations: 35.84 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.3751, allocations: 83.52 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.3754, allocations: 199.1 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3754, allocations: 0 / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3754, allocations: 4 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3754, allocations: 3.938 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009759/0.3764, allocations: 0.4926 MB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3765, allocations: 8.031 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.268e-05/0.3765, allocations: 42.75 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.3766, allocations: 16.84 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.377, allocations: 190.1 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.377, allocations: 12.36 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.377, allocations: 7.938 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.3775, allocations: 152.2 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3775, allocations: 3.938 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3775, allocations: 4 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3775, allocations: 4 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.378, allocations: 103.9 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007495/0.3787, allocations: 0.5272 MB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.3794, allocations: 158.5 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3797, allocations: 68.8 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3797, allocations: 4 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006231/0.3803, allocations: 135.3 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.866e-06/0.3803, allocations: 0 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.00134/0.3817, allocations: 261.5 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3817, allocations: 59.41 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.3822, allocations: 240.1 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3822, allocations: 25.7 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3824, allocations: 128.4 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.3824, allocations: 43.69 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3825, allocations: 33.72 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.3828, allocations: 330.8 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.3832, allocations: 67.94 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.3836, allocations: 100.2 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.3842, allocations: 193.8 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3842, allocations: 0 / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006952/0.3849, allocations: 263 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.3849, allocations: 33.69 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3849, allocations: 4 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3849, allocations: 3.938 kB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.3851, allocations: 39.91 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3851, allocations: 4.125 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3853, allocations: 31.92 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.3853, allocations: 8 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001461/0.3855, allocations: 141.8 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.3855, allocations: 19.84 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.3862, allocations: 210.8 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3862, allocations: 3.938 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3862, allocations: 0 / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3862, allocations: 7.984 kB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.3865, allocations: 200.6 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3865, allocations: 4 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3866, allocations: 27.97 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3866, allocations: 0 / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3867, allocations: 3.984 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3867, allocations: 7.938 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3867, allocations: 0 / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/0.3876, allocations: 308.7 kB / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.3876, allocations: 15.89 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.3876, allocations: 4 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3878, allocations: 23.91 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.3879, allocations: 19.97 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3879, allocations: 4 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3881, allocations: 169.8 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3881, allocations: 0 / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3884, allocations: 44 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00265/0.391, allocations: 1.143 MB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006334/0.3916, allocations: 207 kB / 0.571 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3917, allocations: 0 / 0.571 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.3919, allocations: 88.05 kB / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3923, allocations: 57.56 kB / 0.5711 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.3957, allocations: 2.177 MB / 0.5732 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3961, allocations: 0.7281 MB / 0.574 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3962, allocations: 25.47 kB / 0.574 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3963, allocations: 51.42 kB / 0.574 GB, free: 6.398 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3963, allocations: 0 / 0.574 GB, free: 6.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.4322, allocations: 5.25 MB / 0.5792 GB, free: 1.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.39, allocations: 3.938 kB / 0.5792 GB, free: 1.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.24211033899337] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.557099134195596 11.581576021 11.201414834 Calling exit ...