Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001274/0.001274, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001464/0.001464, allocations: 220.3 kB / 23 MB, free: 5.609 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.486/1.486, allocations: 230.2 MB / 256.2 MB, free: 8.719 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.2421/0.2421, allocations: 46.89 MB / 359.4 MB, free: 4.941 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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",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.002269/0.002269, allocations: 83.86 kB / 0.4942 GB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.379, allocations: 65.99 MB / 0.5586 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003261/0.3823, allocations: 1.613 MB / 0.5602 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3843, allocations: 1.227 MB / 0.5614 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.3843, allocations: 0 / 0.5614 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.3846, allocations: 27.78 kB / 0.5614 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3849, allocations: 83.61 kB / 0.5615 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3851, allocations: 99.45 kB / 0.5616 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3853, allocations: 67.83 kB / 0.5616 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3854, allocations: 9.812 kB / 0.5616 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.3855, allocations: 27.86 kB / 0.5617 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3856, allocations: 35.78 kB / 0.5617 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3856, allocations: 4 kB / 0.5617 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3858, allocations: 99.92 kB / 0.5618 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.3858, allocations: 11.94 kB / 0.5618 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.3859, allocations: 27.86 kB / 0.5618 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.3861, allocations: 143.4 kB / 0.562 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3862, allocations: 4 kB / 0.562 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3862, allocations: 0 / 0.562 GB, free: 1.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3862, allocations: 0 / 0.562 GB, free: 1.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005807/0.3867, allocations: 398.8 kB / 0.5624 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3868, allocations: 8.031 kB / 0.5624 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.3868, allocations: 38.75 kB / 0.5624 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3869, allocations: 4.891 kB / 0.5624 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3871, allocations: 200.1 kB / 0.5626 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3871, allocations: 384 / 0.5626 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3871, allocations: 8.312 kB / 0.5626 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3873, allocations: 67.95 kB / 0.5627 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3873, allocations: 3.938 kB / 0.5627 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.3873, allocations: 0 / 0.5627 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.3873, allocations: 0 / 0.5627 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.3874, allocations: 19.98 kB / 0.5627 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.3878, allocations: 288.8 kB / 0.563 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.388, allocations: 42.56 kB / 0.563 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.3881, allocations: 8.859 kB / 0.563 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3881, allocations: 8.078 kB / 0.563 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3881, allocations: 30.56 kB / 0.5631 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3881, allocations: 0 / 0.5631 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005758/0.3887, allocations: 145.4 kB / 0.5632 GB, free: 104 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.3887, allocations: 77.11 kB / 0.5633 GB, free: 8 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3889, allocations: 144.2 kB / 0.5634 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3889, allocations: 25.7 kB / 0.5634 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.389, allocations: 100.1 kB / 0.5635 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.389, allocations: 15.86 kB / 0.5635 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3891, allocations: 25.7 kB / 0.5636 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3892, allocations: 318.8 kB / 0.5639 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.3893, allocations: 19.98 kB / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.3894, allocations: 37.62 kB / 0.5639 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3895, allocations: 40.84 kB / 0.564 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3895, allocations: 4.031 kB / 0.564 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.3897, allocations: 85.86 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3897, allocations: 4 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3897, allocations: 7.938 kB / 0.5641 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3897, allocations: 4 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.3898, allocations: 11.98 kB / 0.5641 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3898, allocations: 0 / 0.5641 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.3898, allocations: 7.938 kB / 0.5641 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3899, allocations: 4 kB / 0.5641 GB, free: 15.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.438e-05/0.3899, allocations: 121.7 kB / 0.5642 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.39, allocations: 7.953 kB / 0.5642 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.3902, allocations: 93.95 kB / 0.5643 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3902, allocations: 0 / 0.5643 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3902, allocations: 0 / 0.5643 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3902, allocations: 0 / 0.5643 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.3907, allocations: 354.7 kB / 0.5646 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3907, allocations: 0 / 0.5646 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.3908, allocations: 15.98 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3908, allocations: 0 / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3908, allocations: 0 / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3908, allocations: 0 / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.3908, allocations: 7.922 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.391, allocations: 187.4 kB / 0.5648 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.3911, allocations: 81.06 kB / 0.5649 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3911, allocations: 0 / 0.5649 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.3912, allocations: 12.17 kB / 0.5649 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.3912, allocations: 7.938 kB / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3912, allocations: 4 kB / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3913, allocations: 115.2 kB / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3913, allocations: 0 / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3916, allocations: 39.88 kB / 0.5651 GB, free: 13.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002153/0.3938, allocations: 1.103 MB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.394, allocations: 47.91 kB / 0.5662 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.394, allocations: 4 kB / 0.5662 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.394, allocations: 19.98 kB / 0.5662 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3944, allocations: 23.92 kB / 0.5663 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3962, allocations: 1.431 MB / 0.5677 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3966, allocations: 0.6924 MB / 0.5683 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.3966, allocations: 11.77 kB / 0.5684 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.3967, allocations: 31.42 kB / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3967, allocations: 0 / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.4235, allocations: 3.226 MB / 0.5715 GB, free: 7.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.47, allocations: 15.91 kB / 0.5715 GB, free: 7.414 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.486049147992162] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.594731414021226 8.61308223 8.221811763 Calling exit ...