Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.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.001809/0.001809, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.0016/0.0016, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.494/1.494, allocations: 230.5 MB / 258.2 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2374/0.2374, allocations: 46.93 MB / 361.6 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4331, allocations: 66.08 MB / 0.5616 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003752/0.4368, allocations: 1.741 MB / 0.5633 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.4388, allocations: 1.049 MB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.4389, allocations: 4 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.4393, allocations: 39.77 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.4398, allocations: 103.5 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.44, allocations: 79.72 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.4403, allocations: 107.7 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4404, allocations: 9.969 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.4405, allocations: 43.73 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.4407, allocations: 39.83 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4407, allocations: 4 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.4408, allocations: 43.92 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.4409, allocations: 23.91 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.441, allocations: 31.75 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.4413, allocations: 119.5 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4413, allocations: 0 / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4413, allocations: 0 / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4413, allocations: 7.938 kB / 0.5649 GB, free: 0.8633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007881/0.4421, allocations: 345.6 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.4421, allocations: 12.03 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.4422, allocations: 34.73 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.4422, allocations: 12.83 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.4427, allocations: 158.9 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4427, allocations: 384 / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4427, allocations: 4.375 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.4429, allocations: 57.8 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4429, allocations: 4 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4429, allocations: 0 / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4429, allocations: 4 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.443, allocations: 15.98 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.4435, allocations: 263.9 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4437, allocations: 50.67 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.4438, allocations: 20.86 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4438, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.444, allocations: 79.25 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.444, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006137/0.4446, allocations: 169.4 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.4446, allocations: 51.41 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4449, allocations: 210.2 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.4449, allocations: 29.69 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.445, allocations: 108.1 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.445, allocations: 27.77 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.4451, allocations: 21.72 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4453, allocations: 326.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.4453, allocations: 23.98 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.4454, allocations: 37.7 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4455, allocations: 65.7 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4455, allocations: 0 / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.4457, allocations: 97.59 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4457, allocations: 10.34 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4457, allocations: 384 / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4458, allocations: 3.984 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.4459, allocations: 23.95 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4459, allocations: 8 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.4459, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4459, allocations: 8 kB / 0.5671 GB, free: 14.42 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.000111/0.446, allocations: 129.9 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.4461, allocations: 11.91 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4463, allocations: 119 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4463, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4463, allocations: 4 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4463, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.4468, allocations: 366.3 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4468, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.4469, allocations: 11.98 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4469, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4469, allocations: 4 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4469, allocations: 3.938 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4469, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.4471, allocations: 212.2 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.4472, allocations: 8.141 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.4472, allocations: 7.938 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.4472, allocations: 15.86 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.4473, allocations: 4 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4473, allocations: 7.984 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.4475, allocations: 148.2 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4475, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.4478, allocations: 27.92 kB / 0.5681 GB, free: 13.27 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.002431/0.4502, allocations: 1.083 MB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4504, allocations: 55.91 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4504, allocations: 0 / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.4505, allocations: 39.97 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.4508, allocations: 23.36 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.4528, allocations: 1.658 MB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4532, allocations: 0.7041 MB / 0.5716 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.4533, allocations: 25.27 kB / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.4533, allocations: 35.42 kB / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4533, allocations: 0 / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.4814, allocations: 3.533 MB / 0.5751 GB, free: 6.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.421, allocations: 3.938 kB / 0.5751 GB, free: 6.145 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.382504505105317] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.568109738640487 8.596501166 8.149955515 Calling exit ...