Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.00175/0.00175, 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.002174/0.002174, allocations: 209.9 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.484/1.484, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2462/0.2462, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",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.003024/0.003024, allocations: 83.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3528, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003481/0.3563, allocations: 1.678 MB / 0.5632 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3574, allocations: 0.581 MB / 0.5637 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.3575, allocations: 3.938 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.3581, allocations: 455.2 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.3586, allocations: 291.3 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3589, allocations: 135.6 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.3591, allocations: 175.6 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3593, allocations: 17.95 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3594, allocations: 115.7 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.3597, allocations: 251.5 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3597, allocations: 0 / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3598, allocations: 55.92 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.36, allocations: 87.61 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3601, allocations: 107 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.3604, allocations: 282.5 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3605, allocations: 0 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3605, allocations: 0 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3605, allocations: 0 / 0.5656 GB, free: 120 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008644/0.3613, allocations: 0.5971 MB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3614, allocations: 12.03 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.3614, allocations: 34.75 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.3615, allocations: 44.66 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3618, allocations: 246.8 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3618, allocations: 4.375 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3618, allocations: 4.375 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.362, allocations: 62.16 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.362, allocations: 11.94 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.362, allocations: 0 / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.362, allocations: 0 / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3621, allocations: 31.97 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.3627, allocations: 371.7 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3628, allocations: 38.56 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.3628, allocations: 24.94 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3629, allocations: 0 / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3629, allocations: 30.56 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3629, allocations: 0 / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.3639, allocations: 320.6 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3639, allocations: 63.34 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009907/0.3649, allocations: 0.8737 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3649, allocations: 25.7 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.3651, allocations: 232 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.3652, allocations: 27.75 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.3652, allocations: 21.7 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3654, allocations: 366.8 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.3655, allocations: 27.97 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.3656, allocations: 23.98 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3657, allocations: 60.83 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3657, allocations: 0 / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002593/0.366, allocations: 137.4 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.366, allocations: 11.94 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.366, allocations: 0 / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.366, allocations: 0 / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3661, allocations: 15.98 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3662, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.3662, allocations: 7.922 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3662, allocations: 4 kB / 0.5692 GB, free: 12.22 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.0002169/0.3664, allocations: 210.7 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.3665, allocations: 55.67 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.3669, allocations: 165.5 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3669, allocations: 0 / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3669, allocations: 0 / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3669, allocations: 3.938 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.3676, allocations: 482.3 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3676, allocations: 4 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.3677, allocations: 16 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3677, allocations: 3.938 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3677, allocations: 7.984 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3677, allocations: 0 / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3677, allocations: 0 / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.368, allocations: 248.9 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.368, allocations: 43.66 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3681, allocations: 0 / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.3682, allocations: 7.984 kB / 0.5704 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3682, allocations: 7.984 kB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3682, allocations: 4 kB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006718/0.3689, allocations: 0.6628 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 4 kB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3691, allocations: 31.92 kB / 0.5711 GB, free: 10.19 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.002211/0.3713, allocations: 1.128 MB / 0.5722 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3716, allocations: 55.97 kB / 0.5723 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3716, allocations: 0 / 0.5723 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.3717, allocations: 43.91 kB / 0.5723 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3721, allocations: 22.31 kB / 0.5723 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.3761, allocations: 3.337 MB / 0.5756 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3766, allocations: 0.8299 MB / 0.5764 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.199e-05/0.3767, allocations: 16.73 kB / 0.5764 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3768, allocations: 107.4 kB / 0.5765 GB, free: 4.664 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3768, allocations: 0 / 0.5765 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.4092, allocations: 6.472 MB / 0.5828 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.897, allocations: 9.484 kB / 0.5829 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93424748396501] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.042292641941458 9.064045222 8.698515135 Calling exit ...