Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001754/0.001754, 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.002415/0.002415, 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.505/1.505, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2997/0.2997, allocations: 46.94 MB / 361.6 MB, free: 4.18 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",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.002384/0.002384, allocations: 75.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3766, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00303/0.3797, allocations: 1.687 MB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3807, allocations: 0.577 MB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.3807, allocations: 4 kB / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.381, allocations: 67.77 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.3813, allocations: 103.6 kB / 0.5639 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.3816, allocations: 139.1 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.3818, allocations: 87.75 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3819, allocations: 18.19 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.382, allocations: 39.84 kB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3821, allocations: 67.73 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3821, allocations: 4 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3822, allocations: 51.97 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.3823, allocations: 27.86 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.3823, allocations: 35.73 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.3825, allocations: 127.4 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3826, allocations: 0 / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3826, allocations: 0 / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3826, allocations: 0 / 0.5645 GB, free: 1.258 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005552/0.3831, allocations: 361.4 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3832, allocations: 12.03 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.3832, allocations: 34.75 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.3832, allocations: 12.84 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3834, allocations: 154.3 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3835, allocations: 4.375 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3835, allocations: 8.375 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3837, allocations: 66.16 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3837, allocations: 3.938 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3837, allocations: 0 / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3837, allocations: 4 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3838, allocations: 35.97 kB / 0.5651 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.3842, allocations: 283.8 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3845, allocations: 58.48 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.3846, allocations: 24.97 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3846, allocations: 3.984 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3846, allocations: 38.56 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3846, allocations: 4 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.386, allocations: 401 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.386, allocations: 51.41 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.3863, allocations: 238 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3863, allocations: 29.7 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.3864, allocations: 112.1 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.3864, allocations: 39.69 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.3865, allocations: 21.72 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3866, allocations: 326.8 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3867, allocations: 43.95 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3869, allocations: 43.97 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.3871, allocations: 97.08 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3871, allocations: 4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003175/0.3874, allocations: 149.4 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3875, allocations: 6.5 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3875, allocations: 4 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3875, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3876, allocations: 31.98 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3876, allocations: 3.938 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.3877, allocations: 7.984 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3877, allocations: 4 kB / 0.5671 GB, free: 14.39 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 (11): * Single equations (assignments): 11 * 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.0001154/0.3878, allocations: 138.6 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3878, allocations: 15.91 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.3882, allocations: 167 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3882, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3882, allocations: 4.5 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3882, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.3889, allocations: 451.1 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3889, allocations: 3.938 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.389, allocations: 31.97 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.389, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.389, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.389, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.389, allocations: 7.938 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3894, allocations: 253.1 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.3894, allocations: 19.94 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3894, allocations: 7.938 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.3895, allocations: 15.98 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3896, allocations: 11.98 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3896, allocations: 0 / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3897, allocations: 168.3 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3897, allocations: 0 / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.39, allocations: 23.94 kB / 0.5684 GB, free: 13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002224/0.3922, allocations: 1.151 MB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.3925, allocations: 107.8 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3925, allocations: 0 / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3927, allocations: 56.03 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3931, allocations: 19.98 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3954, allocations: 1.883 MB / 0.5715 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3958, allocations: 0.7119 MB / 0.5722 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.818e-05/0.3959, allocations: 24.47 kB / 0.5722 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3959, allocations: 39.42 kB / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3959, allocations: 0 / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.423, allocations: 3.577 MB / 0.5757 GB, free: 5.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.328, allocations: 11.98 kB / 0.5758 GB, free: 5.441 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.425204383209348] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.469414436258376 8.485757044 8.099889509 Calling exit ...