Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001798/0.001798, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001971/0.001971, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.53/1.53, allocations: 230.5 MB / 258.2 MB, free: 8.059 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.2508/0.2508, allocations: 46.92 MB / 361.6 MB, free: 4.23 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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",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.002351/0.002351, allocations: 76.11 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3726, allocations: 66.09 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003212/0.3758, allocations: 1.631 MB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.377, allocations: 0.5537 MB / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.3771, allocations: 0 / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.3775, allocations: 119.7 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.3778, allocations: 135.5 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.3781, allocations: 99.12 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3783, allocations: 99.73 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3785, allocations: 11.98 kB / 0.5641 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.3786, allocations: 47.88 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3787, allocations: 103.7 kB / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3787, allocations: 4 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3788, allocations: 39.98 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.3789, allocations: 23.92 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.379, allocations: 35.67 kB / 0.5644 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3792, allocations: 131.4 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3793, allocations: 4 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.3793, allocations: 7.938 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3793, allocations: 0 / 0.5645 GB, free: 1.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006138/0.3799, allocations: 361.4 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3799, allocations: 12.03 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.38, allocations: 30.75 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.38, allocations: 16.84 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3803, allocations: 162.4 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3803, allocations: 8.359 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3803, allocations: 4.312 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3804, allocations: 50.25 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3805, allocations: 11.94 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3805, allocations: 0 / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3805, allocations: 0 / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3806, allocations: 27.97 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.381, allocations: 267.9 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.3811, allocations: 50.48 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.3812, allocations: 20.86 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3812, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3812, allocations: 30.56 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.3812, allocations: 0 / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009148/0.3821, allocations: 245.2 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3822, allocations: 55.34 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3825, allocations: 271.8 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3825, allocations: 29.7 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.3826, allocations: 116.1 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3826, allocations: 31.73 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.3827, allocations: 25.66 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3828, allocations: 330.8 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.3829, allocations: 23.98 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.383, allocations: 27.97 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3831, allocations: 61.06 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3831, allocations: 0 / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002206/0.3834, allocations: 113.5 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3834, allocations: 4 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3834, allocations: 0 / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3834, allocations: 0 / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3835, allocations: 23.92 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3835, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.3835, allocations: 7.984 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3836, allocations: 3.938 kB / 0.5668 GB, free: 14.71 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 (8): * Single equations (assignments): 8 * 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.0001224/0.3837, allocations: 136 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.3837, allocations: 19.91 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.384, allocations: 123 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.384, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.384, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.384, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.3846, allocations: 390.7 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3846, allocations: 4 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.3847, allocations: 15.98 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3847, allocations: 0 / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3847, allocations: 7.938 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3847, allocations: 3.984 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3847, allocations: 4 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.385, allocations: 216.2 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.385, allocations: 11.91 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.385, allocations: 7.938 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.3851, allocations: 7.938 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3851, allocations: 7.984 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3851, allocations: 4 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3853, allocations: 212.1 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3853, allocations: 0 / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3856, allocations: 27.94 kB / 0.568 GB, free: 13.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002177/0.3878, allocations: 1.091 MB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.388, allocations: 59.95 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.388, allocations: 0 / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.3881, allocations: 35.98 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3885, allocations: 23.77 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3907, allocations: 1.805 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.391, allocations: 0.7235 MB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.3911, allocations: 16.95 kB / 0.5716 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.3912, allocations: 35.42 kB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3912, allocations: 0 / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4195, allocations: 3.469 MB / 0.575 GB, free: 6.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.461, allocations: 12.25 kB / 0.5751 GB, free: 6.207 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.465725270099938] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.605877054389566 8.628153481 8.244632337 Calling exit ...