Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001386/0.001386, 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.001569/0.001569, 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.501/1.501, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.219 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",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.002279/0.002279, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.375, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003273/0.3783, allocations: 1.614 MB / 0.5631 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3794, allocations: 0.5576 MB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.3794, allocations: 7.938 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3796, allocations: 23.84 kB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.3799, allocations: 79.62 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3802, allocations: 107.7 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3804, allocations: 71.81 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.3805, allocations: 8 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.3805, allocations: 23.86 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.3806, allocations: 23.86 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3806, allocations: 8 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.3807, allocations: 31.98 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.3808, allocations: 15.92 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3808, allocations: 23.81 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.381, allocations: 83.59 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.381, allocations: 0 / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.381, allocations: 0 / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.381, allocations: 3.984 kB / 0.5641 GB, free: 1.641 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.0004802/0.3815, allocations: 305.9 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3815, allocations: 12.03 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.3815, allocations: 38.73 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.3816, allocations: 8.891 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3818, allocations: 132.9 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.3818, allocations: 384 / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3818, allocations: 384 / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3819, allocations: 54.17 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3819, allocations: 3.938 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.382, allocations: 11.92 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.382, allocations: 4 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.3821, allocations: 23.98 kB / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3824, allocations: 251.9 kB / 0.5649 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3826, allocations: 46.48 kB / 0.565 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.3827, allocations: 16.86 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3827, allocations: 7.984 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3827, allocations: 34.64 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3827, allocations: 0 / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005749/0.3833, allocations: 149.4 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3833, allocations: 55.39 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3835, allocations: 142.2 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3835, allocations: 33.7 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.3836, allocations: 100.1 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3836, allocations: 15.86 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3836, allocations: 17.72 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3838, allocations: 326.8 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.3839, allocations: 19.92 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.3839, allocations: 27.97 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3841, allocations: 57.02 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3841, allocations: 0 / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000184/0.3842, allocations: 89.56 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3843, allocations: 4 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3843, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3843, allocations: 3.984 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.3843, allocations: 12 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3844, allocations: 4 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.3844, allocations: 7.984 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3844, allocations: 0 / 0.5661 GB, free: 15.46 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 0.0001035/0.3845, allocations: 118.7 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3845, allocations: 7.953 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3848, allocations: 102 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3848, allocations: 0 / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3848, allocations: 4 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3848, allocations: 0 / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.3852, allocations: 333.5 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3852, allocations: 3.938 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.3853, allocations: 11.98 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3853, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3853, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3853, allocations: 4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3853, allocations: 7.938 kB / 0.5666 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3855, allocations: 187.7 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.3856, allocations: 3.953 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3856, allocations: 0 / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.3856, allocations: 7.984 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.3857, allocations: 7.938 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3857, allocations: 8 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3858, allocations: 117.7 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3858, allocations: 0 / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.386, allocations: 19.88 kB / 0.567 GB, free: 14.45 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.001932/0.3879, allocations: 1.022 MB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3882, allocations: 55.89 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3882, allocations: 3.938 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.3882, allocations: 23.98 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3886, allocations: 19.92 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3903, allocations: 1.461 MB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3906, allocations: 0.6924 MB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.3906, allocations: 19.83 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.3907, allocations: 27.42 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3907, allocations: 4 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.4185, allocations: 2.625 MB / 0.5728 GB, free: 8.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.298, allocations: 8.047 kB / 0.5728 GB, free: 8.5 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.309018765110523] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.436172249726951 8.451287235 8.067239774 Calling exit ...