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.001401/0.001401, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001566/0.001566, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2222/0.2222, allocations: 44.93 MB / 358.8 MB, free: 6.062 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.00219/0.00219, allocations: 72.17 kB / 0.4931 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4168, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005843/0.4226, allocations: 1.979 MB / 0.559 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.4261, allocations: 1.06 MB / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.4262, allocations: 0 / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.4267, allocations: 51.64 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.4273, allocations: 115.4 kB / 0.5601 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.4278, allocations: 111.6 kB / 0.5603 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.4283, allocations: 215.3 kB / 0.5605 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4285, allocations: 19.62 kB / 0.5605 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.4287, allocations: 83.69 kB / 0.5606 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.4289, allocations: 67.62 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.4289, allocations: 12 kB / 0.5606 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.429, allocations: 55.92 kB / 0.5607 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.4291, allocations: 43.83 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.4292, allocations: 55.66 kB / 0.5608 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.4296, allocations: 203.1 kB / 0.561 GB, free: 3.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4296, allocations: 7.938 kB / 0.561 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4296, allocations: 0 / 0.561 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4296, allocations: 0 / 0.561 GB, free: 3.438 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.001055/0.4306, allocations: 0.4946 MB / 0.5615 GB, free: 2.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4307, allocations: 8.031 kB / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.4307, allocations: 46.67 kB / 0.5615 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.4308, allocations: 16.84 kB / 0.5615 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.4312, allocations: 202 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.4312, allocations: 8.375 kB / 0.5617 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.4313, allocations: 7.938 kB / 0.5617 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.4317, allocations: 173.9 kB / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4317, allocations: 0 / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4317, allocations: 7.984 kB / 0.5619 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4317, allocations: 4 kB / 0.5619 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.4322, allocations: 115.8 kB / 0.562 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.4329, allocations: 0.496 MB / 0.5625 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.4336, allocations: 162.6 kB / 0.5627 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.4338, allocations: 68.8 kB / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4339, allocations: 3.938 kB / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/0.4343, allocations: 164.9 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.4343, allocations: 0 / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009096/0.4352, allocations: 261.3 kB / 0.5631 GB, free: 1.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.4352, allocations: 59.39 kB / 0.5632 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.4355, allocations: 244.1 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.4356, allocations: 25.7 kB / 0.5635 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4357, allocations: 128.4 kB / 0.5636 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.4357, allocations: 43.69 kB / 0.5636 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.4358, allocations: 37.7 kB / 0.5637 GB, free: 480 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.436, allocations: 326.8 kB / 0.564 GB, free: 144 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4362, allocations: 101.6 kB / 0.5641 GB, free: 36 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.4366, allocations: 129.9 kB / 0.5642 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.4371, allocations: 197.8 kB / 0.5644 GB, free: 15.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4371, allocations: 0 / 0.5644 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006882/0.4378, allocations: 292.7 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.4378, allocations: 33.7 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4378, allocations: 0 / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4378, allocations: 7.938 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.438, allocations: 35.97 kB / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.438, allocations: 0 / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.4382, allocations: 39.98 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.4382, allocations: 11.94 kB / 0.5648 GB, free: 15.23 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.0001383/0.4384, allocations: 133.8 kB / 0.5649 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4384, allocations: 15.91 kB / 0.5649 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.4391, allocations: 222.3 kB / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4391, allocations: 3.938 kB / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4391, allocations: 7.938 kB / 0.5652 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4391, allocations: 0 / 0.5652 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.4393, allocations: 200.6 kB / 0.5653 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4393, allocations: 0 / 0.5653 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.4394, allocations: 19.98 kB / 0.5654 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4395, allocations: 3.984 kB / 0.5654 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.4395, allocations: 7.984 kB / 0.5654 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4395, allocations: 3.938 kB / 0.5654 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4395, allocations: 0 / 0.5654 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.4404, allocations: 312.8 kB / 0.5657 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.4404, allocations: 19.83 kB / 0.5657 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.4404, allocations: 7.984 kB / 0.5657 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.4406, allocations: 31.84 kB / 0.5657 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4407, allocations: 24.03 kB / 0.5658 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4407, allocations: 4 kB / 0.5658 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.4409, allocations: 173.8 kB / 0.5659 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4409, allocations: 0 / 0.5659 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.4411, allocations: 40 kB / 0.566 GB, free: 13.95 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 (13): * Single equations (assignments): 9 * 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.00269/0.4438, allocations: 1.188 MB / 0.5671 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006644/0.4445, allocations: 244.9 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4445, allocations: 0 / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.4448, allocations: 80.19 kB / 0.5674 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4451, allocations: 50.12 kB / 0.5675 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.4485, allocations: 2.307 MB / 0.5697 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.4486, allocations: 120.1 kB / 0.5698 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.4487, allocations: 17.48 kB / 0.5699 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4488, allocations: 55.42 kB / 0.5699 GB, free: 9.891 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4488, allocations: 0 / 0.5699 GB, free: 9.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.4852, allocations: 5.882 MB / 0.5757 GB, free: 4.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.97, allocations: 13.22 kB / 0.5757 GB, free: 4.066 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 & 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: 15.05584157910198] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.135004175826907 12.152406468 11.71957711 Calling exit ...