Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001822/0.001822, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002146/0.002146, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.554/1.554, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2277/0.2277, allocations: 44.91 MB / 359.6 MB, free: 6.293 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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.002277/0.002277, allocations: 63.91 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3396, allocations: 65.48 MB / 0.5579 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003453/0.343, allocations: 2.049 MB / 0.5599 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3449, allocations: 1.139 MB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.124e-05/0.345, allocations: 0 / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3453, allocations: 51.64 kB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.3456, allocations: 111.4 kB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.3459, allocations: 115.6 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.3462, allocations: 211.3 kB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3463, allocations: 21.61 kB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3464, allocations: 91.61 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3466, allocations: 79.56 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3466, allocations: 12 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3467, allocations: 55.97 kB / 0.5617 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.3468, allocations: 35.84 kB / 0.5617 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.3469, allocations: 75.55 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.3472, allocations: 201.1 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3472, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3472, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3472, allocations: 4 kB / 0.562 GB, free: 3.508 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009404/0.3481, allocations: 0.4965 MB / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3482, allocations: 12.03 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.3482, allocations: 192 / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.3482, allocations: 38.75 kB / 0.5625 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.3483, allocations: 16.84 kB / 0.5625 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.3486, allocations: 198 kB / 0.5627 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.3486, allocations: 12.12 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3487, allocations: 4 kB / 0.5627 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.3491, allocations: 152.1 kB / 0.5629 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3491, allocations: 4 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3491, allocations: 4 kB / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3491, allocations: 8 kB / 0.5629 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.3496, allocations: 114.6 kB / 0.563 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.3503, allocations: 0.5194 MB / 0.5635 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.351, allocations: 162.6 kB / 0.5637 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.3512, allocations: 68.73 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3512, allocations: 4 kB / 0.5637 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.3516, allocations: 135.3 kB / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.3516, allocations: 0 / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000898/0.3525, allocations: 253.3 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3526, allocations: 63.34 kB / 0.5642 GB, free: 1.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.3528, allocations: 240.1 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3529, allocations: 25.7 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.353, allocations: 132.4 kB / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.353, allocations: 39.69 kB / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.3531, allocations: 37.7 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3532, allocations: 330.8 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3535, allocations: 63.94 kB / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.3538, allocations: 108.2 kB / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.3543, allocations: 189.8 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3543, allocations: 3.938 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006709/0.355, allocations: 263 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.355, allocations: 33.69 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.355, allocations: 0 / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.355, allocations: 7.938 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3552, allocations: 31.97 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3552, allocations: 7.938 kB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.3554, allocations: 32.02 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3554, allocations: 8 kB / 0.5657 GB, free: 15.47 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.0001335/0.3556, allocations: 133.8 kB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3556, allocations: 19.89 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.3562, allocations: 210.8 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3562, allocations: 4 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3563, allocations: 0 / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3563, allocations: 4 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3565, allocations: 200.6 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3565, allocations: 4 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.3566, allocations: 27.97 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3566, allocations: 0 / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3566, allocations: 3.938 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3567, allocations: 0 / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3567, allocations: 3.984 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.3576, allocations: 304.7 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.3576, allocations: 23.88 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.3576, allocations: 12 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3578, allocations: 19.97 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3579, allocations: 19.97 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3579, allocations: 8 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.358, allocations: 165.8 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.358, allocations: 0 / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3583, allocations: 39.94 kB / 0.5668 GB, free: 14.2 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.002583/0.3609, allocations: 1.146 MB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.3616, allocations: 215 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3616, allocations: 3.938 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.3618, allocations: 80.12 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3622, allocations: 48.98 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.3656, allocations: 2.182 MB / 0.5704 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.366, allocations: 0.7242 MB / 0.5711 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.3661, allocations: 29.45 kB / 0.5711 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3662, allocations: 55.42 kB / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3662, allocations: 0 / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.3942, allocations: 5.264 MB / 0.5763 GB, free: 4.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 17.77 kB / 0.5763 GB, free: 4.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.050185814034194] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.050499578996096 12.076876322 11.72546847 Calling exit ...