Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.001467/0.001467, allocations: 113.2 kB / 20.22 MB, free: 1.793 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.001512/0.001512, allocations: 216.7 kB / 23.48 MB, free: 5.227 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.458/1.458, allocations: 230.2 MB / 256.8 MB, free: 8.559 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.2424/0.2424, allocations: 46.88 MB / 360 MB, free: 4.719 MB / 286.1 MB " [Timeout remaining time 180] 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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",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.002262/0.002262, allocations: 79.88 kB / 0.4952 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3803, allocations: 66 MB / 0.5596 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003559/0.3838, allocations: 1.729 MB / 0.5613 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3855, allocations: 1.049 MB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.3856, allocations: 4 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3859, allocations: 43.77 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.3862, allocations: 99.53 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3864, allocations: 71.73 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.3866, allocations: 107.7 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3867, allocations: 13.77 kB / 0.5627 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.841e-05/0.3868, allocations: 39.84 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.3869, allocations: 39.78 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3869, allocations: 4 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.387, allocations: 39.98 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3871, allocations: 19.92 kB / 0.5628 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3872, allocations: 39.72 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3874, allocations: 123.4 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3874, allocations: 0 / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3874, allocations: 0 / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3874, allocations: 4 kB / 0.563 GB, free: 1.527 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.0005937/0.388, allocations: 426.6 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.388, allocations: 8.031 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.3881, allocations: 34.75 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3881, allocations: 8.891 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3884, allocations: 212.8 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3884, allocations: 384 / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3884, allocations: 8.312 kB / 0.5636 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3886, allocations: 61.8 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3886, allocations: 0 / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3886, allocations: 0 / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3886, allocations: 3.938 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.3887, allocations: 19.98 kB / 0.5637 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.3891, allocations: 296.8 kB / 0.564 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3893, allocations: 62.61 kB / 0.564 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3893, allocations: 20.84 kB / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3893, allocations: 0 / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3895, allocations: 71.38 kB / 0.5641 GB, free: 148 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3895, allocations: 0 / 0.5641 GB, free: 148 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.39, allocations: 173.5 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3901, allocations: 55.41 kB / 0.5644 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3903, allocations: 198.4 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3903, allocations: 29.64 kB / 0.5646 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3904, allocations: 104.1 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.3904, allocations: 19.8 kB / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.3904, allocations: 29.7 kB / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3906, allocations: 326.6 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.3907, allocations: 23.94 kB / 0.565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.3907, allocations: 37.7 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3908, allocations: 61.77 kB / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3908, allocations: 0 / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.391, allocations: 109.5 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.391, allocations: 4 kB / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3911, allocations: 3.984 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3911, allocations: 8.031 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.3912, allocations: 12 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3912, allocations: 0 / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.3912, allocations: 4 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3912, allocations: 7.938 kB / 0.5653 GB, free: 14.89 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.0001087/0.3913, allocations: 132.7 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3914, allocations: 7.953 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3916, allocations: 115 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3916, allocations: 8 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3916, allocations: 0 / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3916, allocations: 0 / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.3921, allocations: 399.2 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3921, allocations: 0 / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.3921, allocations: 12.5 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3921, allocations: 0 / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3921, allocations: 7.875 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3921, allocations: 8 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3921, allocations: 4.031 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3924, allocations: 204.5 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.3924, allocations: 85.06 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3925, allocations: 3.938 kB / 0.5662 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3925, allocations: 7.938 kB / 0.5662 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3926, allocations: 11.98 kB / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3926, allocations: 4 kB / 0.5663 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3927, allocations: 152.2 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3927, allocations: 0 / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.393, allocations: 23.94 kB / 0.5664 GB, free: 13.62 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.002083/0.3951, allocations: 1.096 MB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3953, allocations: 51.92 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3953, allocations: 0 / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.3953, allocations: 35.98 kB / 0.5676 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.0003342/0.3957, allocations: 23.36 kB / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3976, allocations: 1.673 MB / 0.5692 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.398, allocations: 0.7119 MB / 0.5699 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.3981, allocations: 13.19 kB / 0.5699 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.3981, allocations: 35.42 kB / 0.57 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3981, allocations: 0 / 0.57 GB, free: 10.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.4218, allocations: 3.481 MB / 0.5734 GB, free: 6.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.155, allocations: 4.812 kB / 0.5734 GB, free: 6.539 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.082960574887693] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.27860048902221 8.300183002 7.908699135 Calling exit ...