Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001676/0.001676, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001997/0.001997, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.593/1.593, allocations: 230.5 MB / 258.2 MB, free: 8 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.2399/0.2399, allocations: 46.92 MB / 361.6 MB, free: 4.184 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",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.002353/0.002353, allocations: 75.88 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3805, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003209/0.3837, allocations: 1.684 MB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3848, allocations: 0.585 MB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.3849, allocations: 0 / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.3855, allocations: 463.1 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.386, allocations: 287.3 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.3864, allocations: 175.1 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3867, allocations: 179.6 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3868, allocations: 9.969 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3869, allocations: 123.6 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.3872, allocations: 243.5 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3873, allocations: 4 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.3874, allocations: 43.97 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3875, allocations: 83.69 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.3875, allocations: 103 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.3879, allocations: 274.5 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3879, allocations: 0 / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3879, allocations: 0 / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.3879, allocations: 0 / 0.5656 GB, free: 88 kB / 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.0007908/0.3887, allocations: 0.5855 MB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3887, allocations: 12.03 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.3888, allocations: 30.75 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.3888, allocations: 48.66 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3891, allocations: 254.7 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3892, allocations: 384 / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3892, allocations: 8.312 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3893, allocations: 54.23 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3893, allocations: 3.938 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.3893, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3894, allocations: 4 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3895, allocations: 31.97 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.39, allocations: 379.6 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3902, allocations: 46.56 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.3903, allocations: 12.94 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3903, allocations: 4 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3903, allocations: 38.56 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3903, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006528/0.391, allocations: 240.7 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.391, allocations: 51.41 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3921, allocations: 0.8738 MB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3921, allocations: 29.7 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.3923, allocations: 228.1 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3923, allocations: 19.8 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3923, allocations: 21.7 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3925, allocations: 362.7 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.3926, allocations: 23.97 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.3927, allocations: 23.92 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3928, allocations: 56.83 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3928, allocations: 0 / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002277/0.393, allocations: 129.6 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.393, allocations: 4 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3931, allocations: 3.938 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3931, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.3931, allocations: 15.98 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3931, allocations: 0 / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.3932, allocations: 4 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3932, allocations: 4 kB / 0.5691 GB, free: 12.32 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.0002101/0.3934, allocations: 222.5 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.3935, allocations: 51.61 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.3938, allocations: 141.2 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3938, allocations: 0 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3938, allocations: 0 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3938, allocations: 288 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.3944, allocations: 449.4 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3944, allocations: 0 / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.3944, allocations: 11.98 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3944, allocations: 0 / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3945, allocations: 7.984 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3945, allocations: 3.938 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3945, allocations: 0 / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3947, allocations: 227.2 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.3948, allocations: 35.7 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.3948, allocations: 8 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.3949, allocations: 4.125 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.3949, allocations: 7.984 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3949, allocations: 4 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.3956, allocations: 0.6667 MB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3956, allocations: 0 / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3959, allocations: 27.89 kB / 0.5709 GB, free: 10.39 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.001964/0.3978, allocations: 1.047 MB / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3981, allocations: 55.91 kB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3981, allocations: 0 / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.3981, allocations: 28.09 kB / 0.572 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3986, allocations: 38.22 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.4025, allocations: 3.283 MB / 0.5753 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.403, allocations: 0.8299 MB / 0.5761 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.4031, allocations: 12.66 kB / 0.5761 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.4032, allocations: 119.4 kB / 0.5762 GB, free: 4.965 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4032, allocations: 0 / 0.5762 GB, free: 4.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.4351, allocations: 6.188 MB / 0.5822 GB, free: 14.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.919, allocations: 9.422 kB / 0.5822 GB, free: 14.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.085914898198098] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y'] 9.059353682212532 9.077400957 8.686115523 Calling exit ...