Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001267/0.001267, allocations: 110.5 kB / 21.22 MB, free: 0.5156 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.001399/0.001399, allocations: 211.9 kB / 24.54 MB, free: 3.906 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.401/1.401, allocations: 230.3 MB / 258 MB, free: 8.195 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.2433/0.2433, allocations: 46.89 MB / 361.3 MB, free: 4.43 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.86 kB / 0.4966 GB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3833, allocations: 66.03 MB / 0.5611 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003667/0.387, allocations: 2.061 MB / 0.5631 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.389, allocations: 1.138 MB / 0.5642 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3891, allocations: 3.938 kB / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.3894, allocations: 51.69 kB / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3897, allocations: 111.3 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.39, allocations: 115.6 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.3903, allocations: 207.3 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3904, allocations: 27.77 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3906, allocations: 83.69 kB / 0.5648 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3907, allocations: 79.56 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.3908, allocations: 12 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3909, allocations: 55.97 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.391, allocations: 35.84 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3911, allocations: 75.53 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.3914, allocations: 203.1 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3914, allocations: 0 / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3914, allocations: 0 / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3914, allocations: 0 / 0.5652 GB, free: 396 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.001339/0.3927, allocations: 0.5757 MB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3928, allocations: 8.031 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.3929, allocations: 42.73 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.393, allocations: 16.84 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3934, allocations: 251.9 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3934, allocations: 8.375 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.3935, allocations: 12.38 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.3939, allocations: 150.3 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3939, allocations: 0 / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3939, allocations: 3.938 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3939, allocations: 11.94 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.3944, allocations: 111.9 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.3951, allocations: 0.5438 MB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.3958, allocations: 154.6 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.396, allocations: 76.73 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3961, allocations: 0 / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.3965, allocations: 135.3 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.3965, allocations: 0 / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009035/0.3974, allocations: 261.3 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3974, allocations: 51.41 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3977, allocations: 238.2 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3977, allocations: 33.7 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3978, allocations: 132.4 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.3979, allocations: 43.67 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.3979, allocations: 33.7 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3981, allocations: 330.8 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3984, allocations: 67.94 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.3986, allocations: 107 kB / 0.5685 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.3992, allocations: 189.8 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3992, allocations: 0 / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007626/0.3999, allocations: 259.1 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.4, allocations: 41.73 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4, allocations: 0 / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4, allocations: 0 / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.4002, allocations: 35.97 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4002, allocations: 11.86 kB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.4004, allocations: 31.94 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.4004, allocations: 7.984 kB / 0.5691 GB, free: 12.16 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.0001441/0.4006, allocations: 133.8 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.4006, allocations: 15.91 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.4013, allocations: 218.8 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4013, allocations: 4 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4013, allocations: 3.938 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4013, allocations: 0 / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.4015, allocations: 237.5 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4016, allocations: 0 / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.4017, allocations: 23.97 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4017, allocations: 0 / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4017, allocations: 4 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4017, allocations: 4 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4017, allocations: 3.938 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/0.4027, allocations: 305.3 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.4027, allocations: 93 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.4028, allocations: 7.984 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.403, allocations: 28.03 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.403, allocations: 15.92 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.4031, allocations: 7.984 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.4032, allocations: 172.5 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4032, allocations: 0 / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.4035, allocations: 39.94 kB / 0.5703 GB, free: 10.75 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.002719/0.4062, allocations: 1.141 MB / 0.5714 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.407, allocations: 215.1 kB / 0.5716 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.407, allocations: 0 / 0.5716 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.4072, allocations: 75.88 kB / 0.5717 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4077, allocations: 48.36 kB / 0.5718 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.4116, allocations: 2.174 MB / 0.5739 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.4121, allocations: 0.7281 MB / 0.5746 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.4122, allocations: 25.45 kB / 0.5746 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4123, allocations: 59.41 kB / 0.5747 GB, free: 6.262 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4123, allocations: 0 / 0.5747 GB, free: 6.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.4444, allocations: 5.138 MB / 0.5797 GB, free: 1.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.454, allocations: 7.75 kB / 0.5797 GB, free: 1.133 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.465154978912324] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.583517172839493 8.610760315 8.213840405000001 Calling exit ...