Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001598/0.001598, allocations: 106.5 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.001858/0.001858, allocations: 213.2 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.545/1.545, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2444/0.2444, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",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.002311/0.002311, allocations: 75.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4123, allocations: 66.08 MB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003821/0.4161, allocations: 1.767 MB / 0.5633 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.4184, allocations: 1.053 MB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.4185, allocations: 0 / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.4188, allocations: 95.67 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.419, allocations: 119.5 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.4192, allocations: 79.72 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4194, allocations: 127.6 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.4195, allocations: 17.95 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.4196, allocations: 59.75 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.4197, allocations: 75.73 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4197, allocations: 4 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4198, allocations: 59.92 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.4198, allocations: 31.89 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.4199, allocations: 39.69 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.4201, allocations: 139.4 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4201, allocations: 4 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4201, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4201, allocations: 0 / 0.5651 GB, free: 0.6445 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005062/0.4206, allocations: 385.2 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.4206, allocations: 8.031 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4207, allocations: 34.75 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.4207, allocations: 12.84 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.421, allocations: 163 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.421, allocations: 384 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.4211, allocations: 16.34 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4212, allocations: 69.72 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4212, allocations: 0 / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4212, allocations: 4 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-06/0.4212, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.4213, allocations: 23.92 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.4216, allocations: 275.9 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.4219, allocations: 62.55 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.4219, allocations: 20.97 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.4219, allocations: 3.938 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.4221, allocations: 67.39 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4221, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007745/0.4229, allocations: 253.7 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.4229, allocations: 51.41 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.4232, allocations: 238.9 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4232, allocations: 29.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.4233, allocations: 116 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.4233, allocations: 31.73 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.4233, allocations: 29.72 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4235, allocations: 330.8 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.4236, allocations: 23.98 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.4236, allocations: 49.64 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.4238, allocations: 81.64 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4238, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002424/0.424, allocations: 129.5 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4241, allocations: 8.031 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4241, allocations: 4 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4241, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.4242, allocations: 19.98 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4242, allocations: 0 / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4242, allocations: 7.938 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4242, allocations: 8 kB / 0.5676 GB, free: 13.93 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 (13): * Single equations (assignments): 13 * 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.0001296/0.4244, allocations: 134.6 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.4244, allocations: 15.91 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.4247, allocations: 151.2 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4247, allocations: 4 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.4247, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4247, allocations: 3.938 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.4253, allocations: 423.2 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4253, allocations: 0 / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.4253, allocations: 15.94 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4253, allocations: 8 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4254, allocations: 4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4254, allocations: 7.984 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4254, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.4257, allocations: 233.1 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.4257, allocations: 19.84 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4257, allocations: 4 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.4258, allocations: 7.984 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4258, allocations: 15.92 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4258, allocations: 4.094 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.426, allocations: 175.2 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.426, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.4263, allocations: 31.94 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002398/0.4287, allocations: 1.16 MB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4289, allocations: 75.84 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4289, allocations: 4.062 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.829e-05/0.429, allocations: 39.92 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4293, allocations: 35.89 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4316, allocations: 1.847 MB / 0.5719 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4319, allocations: 0.7158 MB / 0.5726 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.881e-05/0.432, allocations: 24.62 kB / 0.5726 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.4321, allocations: 43.42 kB / 0.5726 GB, free: 8.684 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4321, allocations: 4 kB / 0.5726 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.4591, allocations: 4.042 MB / 0.5766 GB, free: 4.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.323, allocations: 9.281 kB / 0.5766 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.38088253699243] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.463642883114517 8.478179223 8.055072237 Calling exit ...