Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 110.5 kB / 21.1 MB, free: 0.7695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 205 kB / 24.38 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 230.2 MB / 257.7 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.9 MB / 361 MB, free: 4.508 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 75.88 kB / 0.4962 GB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4515, allocations: 66.03 MB / 0.5607 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.004436/0.456, allocations: 1.741 MB / 0.5624 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.4589, allocations: 1.746 MB / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.459, allocations: 0 / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.4593, allocations: 35.77 kB / 0.5642 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.4597, allocations: 103.5 kB / 0.5643 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.4599, allocations: 71.73 kB / 0.5643 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.4601, allocations: 115.6 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4602, allocations: 13.81 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4603, allocations: 43.8 kB / 0.5645 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4605, allocations: 47.77 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.4605, allocations: 4 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.4607, allocations: 107.9 kB / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.4607, allocations: 15.94 kB / 0.5647 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.4608, allocations: 35.73 kB / 0.5647 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.4611, allocations: 167.3 kB / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4611, allocations: 0 / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4611, allocations: 0 / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4611, allocations: 4 kB / 0.5649 GB, free: 464 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007153/0.4618, allocations: 430.6 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4619, allocations: 12.03 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.4619, allocations: 38.69 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.462, allocations: 16.84 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4623, allocations: 212.3 kB / 0.5655 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4623, allocations: 8.25 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.4624, allocations: 7.938 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.4626, allocations: 71.39 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4626, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4626, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4626, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.4627, allocations: 23.98 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.4632, allocations: 284.9 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.4634, allocations: 54.62 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.4634, allocations: 20.84 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.4635, allocations: 4 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.4636, allocations: 67.38 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.4637, allocations: 0 / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006733/0.4643, allocations: 185.3 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.4644, allocations: 81.11 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.4646, allocations: 162.4 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4647, allocations: 29.7 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.4648, allocations: 96.12 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.4648, allocations: 31.69 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.4648, allocations: 29.7 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.465, allocations: 326.8 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.4651, allocations: 12 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.4652, allocations: 46.56 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4653, allocations: 57.77 kB / 0.5671 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4653, allocations: 4 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.4655, allocations: 105.5 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4655, allocations: 8.062 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4655, allocations: 0 / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4655, allocations: 4 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.4656, allocations: 15.94 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4656, allocations: 384 / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.4657, allocations: 12.11 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.4657, allocations: 4 kB / 0.5672 GB, free: 13.78 MB / 414.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.0001266/0.4658, allocations: 121.8 kB / 0.5673 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4659, allocations: 11.95 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.4661, allocations: 110.4 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4661, allocations: 7.938 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4661, allocations: 3.938 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4661, allocations: 3.938 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.4666, allocations: 399.3 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4666, allocations: 0 / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.4667, allocations: 15.92 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4667, allocations: 7.969 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4667, allocations: 0 / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.4667, allocations: 4 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4667, allocations: 0 / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.467, allocations: 196.3 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.4671, allocations: 85.06 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4671, allocations: 11.92 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.4672, allocations: 8 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.4672, allocations: 11.92 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4672, allocations: 4 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.4674, allocations: 127.9 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0 / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.4677, allocations: 47.86 kB / 0.5683 GB, free: 12.51 MB / 414.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 (8): * Single equations (assignments): 6 * 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.002532/0.4702, allocations: 1.182 MB / 0.5695 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.4704, allocations: 59.91 kB / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4704, allocations: 4.062 kB / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.4705, allocations: 23.94 kB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.4708, allocations: 40.2 kB / 0.5696 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.4729, allocations: 1.595 MB / 0.5712 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.4734, allocations: 0.7002 MB / 0.5718 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.4735, allocations: 16.97 kB / 0.5719 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.4736, allocations: 35.42 kB / 0.5719 GB, free: 8.902 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4736, allocations: 0 / 0.5719 GB, free: 8.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.5031, allocations: 4.088 MB / 0.5759 GB, free: 4.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.558, allocations: 11.31 kB / 0.5759 GB, free: 4.789 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.703873393125832] Failed to read output from testmodel.py, exit status != 0: 8.687763157999143 8.715652483 8.24918806 Calling exit ...