Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.001603/0.001603, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002333/0.002333, allocations: 219.1 kB / 23 MB, free: 5.582 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.485/1.485, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2309/0.2309, allocations: 46.87 MB / 359.4 MB, free: 4.938 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",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.002281/0.002281, allocations: 87.84 kB / 0.4942 GB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3299, allocations: 65.98 MB / 0.5587 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00322/0.3331, allocations: 1.743 MB / 0.5604 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3349, allocations: 1.049 MB / 0.5614 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.335, allocations: 7.938 kB / 0.5614 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.3353, allocations: 39.77 kB / 0.5614 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.3356, allocations: 95.59 kB / 0.5615 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3358, allocations: 83.66 kB / 0.5616 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.336, allocations: 95.7 kB / 0.5617 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.3361, allocations: 9.812 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.3362, allocations: 47.78 kB / 0.5617 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.3362, allocations: 35.78 kB / 0.5618 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3363, allocations: 8 kB / 0.5618 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3364, allocations: 39.98 kB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.3364, allocations: 23.91 kB / 0.5618 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.3365, allocations: 31.75 kB / 0.5619 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3367, allocations: 123.4 kB / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3367, allocations: 0 / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3367, allocations: 4 kB / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3367, allocations: 0 / 0.562 GB, free: 1.707 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.0006496/0.3374, allocations: 425 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3374, allocations: 16.03 kB / 0.5624 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.3375, allocations: 34.73 kB / 0.5625 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.3375, allocations: 8.891 kB / 0.5625 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3378, allocations: 216.8 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3378, allocations: 384 / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.3379, allocations: 4.375 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.338, allocations: 61.73 kB / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.338, allocations: 0 / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.338, allocations: 3.938 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.338, allocations: 4 kB / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.3381, allocations: 19.98 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.3385, allocations: 292.8 kB / 0.563 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3387, allocations: 54.61 kB / 0.5631 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.3388, allocations: 16.86 kB / 0.5631 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3388, allocations: 4 kB / 0.5631 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.339, allocations: 67.39 kB / 0.5632 GB, free: 340 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.339, allocations: 0 / 0.5632 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005311/0.3395, allocations: 177.3 kB / 0.5633 GB, free: 156 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3396, allocations: 51.41 kB / 0.5634 GB, free: 92 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3398, allocations: 198.4 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3398, allocations: 25.7 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.3399, allocations: 112.1 kB / 0.5637 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3399, allocations: 31.77 kB / 0.5637 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3399, allocations: 21.72 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3401, allocations: 326.8 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.3402, allocations: 23.98 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.3402, allocations: 37.64 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3404, allocations: 65.72 kB / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3404, allocations: 0 / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.3406, allocations: 101.5 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3406, allocations: 4 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3406, allocations: 4 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3406, allocations: 0 / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.3407, allocations: 15.98 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3407, allocations: 160 / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.3408, allocations: 8.031 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3408, allocations: 11.98 kB / 0.5643 GB, free: 15.07 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.0001094/0.3409, allocations: 133.7 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3409, allocations: 11.91 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.3412, allocations: 119 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3412, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3412, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3412, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.3416, allocations: 395.3 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3416, allocations: 192 / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.3417, allocations: 11.98 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3417, allocations: 3.938 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3417, allocations: 4 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.3417, allocations: 7.875 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3417, allocations: 0 / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3419, allocations: 208.3 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.342, allocations: 85.06 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.342, allocations: 3.984 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.3421, allocations: 12.31 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3421, allocations: 7.938 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3421, allocations: 7.984 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3423, allocations: 144.2 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3423, allocations: 0 / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3425, allocations: 31.92 kB / 0.5655 GB, free: 13.79 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.002184/0.3447, allocations: 1.089 MB / 0.5665 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3449, allocations: 63.83 kB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3449, allocations: 0 / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.345, allocations: 31.92 kB / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3454, allocations: 23.98 kB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3476, allocations: 1.67 MB / 0.5683 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.348, allocations: 0.7002 MB / 0.569 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.807e-05/0.348, allocations: 17.19 kB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3481, allocations: 35.42 kB / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3481, allocations: 0 / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.3731, allocations: 3.472 MB / 0.5724 GB, free: 6.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.582, allocations: 16.16 kB / 0.5724 GB, free: 6.727 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.473432230006438] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.707333221973386 8.736046022 8.394094679 Calling exit ...