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.001672/0.001672, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002041/0.002041, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2319/0.2319, allocations: 44.91 MB / 358.8 MB, free: 6.273 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",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.001996/0.001996, allocations: 67.89 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00387/0.3387, allocations: 2.047 MB / 0.5591 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3409, allocations: 1.139 MB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.3411, allocations: 7.938 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.3414, allocations: 47.7 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.3418, allocations: 111.4 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3421, allocations: 111.6 kB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.3425, allocations: 207.3 kB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3426, allocations: 27.61 kB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.3428, allocations: 83.7 kB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3429, allocations: 79.55 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3429, allocations: 19.98 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3431, allocations: 51.98 kB / 0.5609 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.3432, allocations: 39.84 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3433, allocations: 67.55 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.3436, allocations: 203.1 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3436, allocations: 4 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3436, allocations: 4 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3436, allocations: 0 / 0.5612 GB, free: 3.477 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.001048/0.3447, allocations: 0.4926 MB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3447, allocations: 8.031 kB / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/0.3448, allocations: 42.73 kB / 0.5617 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.3449, allocations: 20.84 kB / 0.5618 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3452, allocations: 194 kB / 0.5619 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3453, allocations: 8.375 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.3453, allocations: 7.938 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.3457, allocations: 154.8 kB / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3457, allocations: 0 / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.3458, allocations: 7.984 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3458, allocations: 4 kB / 0.5621 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.3463, allocations: 123.8 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.3471, allocations: 0.5077 MB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.3478, allocations: 162.6 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.348, allocations: 72.67 kB / 0.563 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.3481, allocations: 4 kB / 0.563 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/0.3486, allocations: 131.3 kB / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.3486, allocations: 0 / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008875/0.3494, allocations: 265.3 kB / 0.5633 GB, free: 1.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3495, allocations: 59.34 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.3498, allocations: 236.1 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3498, allocations: 25.7 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3499, allocations: 132.4 kB / 0.5638 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3499, allocations: 39.69 kB / 0.5638 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.35, allocations: 37.7 kB / 0.5638 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3502, allocations: 334.8 kB / 0.5642 GB, free: 232 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.3505, allocations: 63.94 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.3507, allocations: 102.5 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.3513, allocations: 193.8 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3513, allocations: 4 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006784/0.352, allocations: 259 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.352, allocations: 29.7 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.352, allocations: 4 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.352, allocations: 3.938 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3522, allocations: 44.08 kB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3522, allocations: 7.938 kB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3524, allocations: 23.92 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3524, allocations: 12 kB / 0.5649 GB, free: 15.44 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.000143/0.3526, allocations: 129.8 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3526, allocations: 15.91 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.3532, allocations: 219.2 kB / 0.5652 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3532, allocations: 3.938 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3533, allocations: 4 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3533, allocations: 0 / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3535, allocations: 212.6 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3535, allocations: 0 / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.3536, allocations: 27.97 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3536, allocations: 0 / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3537, allocations: 0 / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3537, allocations: 7.938 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3537, allocations: 4 kB / 0.5655 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.3546, allocations: 308.7 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.3546, allocations: 15.89 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.3547, allocations: 3.984 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.3548, allocations: 27.91 kB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.3549, allocations: 15.98 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3549, allocations: 11.92 kB / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3551, allocations: 169.9 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3551, allocations: 4 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3553, allocations: 35.94 kB / 0.566 GB, free: 14.16 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.00271/0.358, allocations: 1.138 MB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.3587, allocations: 215.3 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3587, allocations: 3.938 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.359, allocations: 83.75 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3594, allocations: 48.45 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.363, allocations: 2.181 MB / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3634, allocations: 0.7281 MB / 0.5703 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.789e-05/0.3635, allocations: 17.48 kB / 0.5703 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3636, allocations: 55.41 kB / 0.5704 GB, free: 9.691 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3636, allocations: 0 / 0.5704 GB, free: 9.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3977, allocations: 5.251 MB / 0.5755 GB, free: 4.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.33, allocations: 3.938 kB / 0.5755 GB, free: 4.512 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 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: 14.679413534999185] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.498461350995058 11.522425713 11.17423877 Calling exit ...