Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001332/0.001332, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001432/0.001432, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.219 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.2278/0.2278, allocations: 46.93 MB / 361.6 MB, free: 4.25 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002318/0.002318, allocations: 79.86 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.317, allocations: 66.1 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003179/0.3201, allocations: 1.676 MB / 0.5632 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3213, allocations: 0.6044 MB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.3213, allocations: 4 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.3219, allocations: 459.1 kB / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.3224, allocations: 287.3 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.3229, allocations: 175 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3231, allocations: 179.6 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3232, allocations: 22.19 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3234, allocations: 119.7 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.3238, allocations: 247.5 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3238, allocations: 4 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3239, allocations: 55.91 kB / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.324, allocations: 87.62 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3241, allocations: 107 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.3244, allocations: 294.4 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3244, allocations: 4 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3244, allocations: 0 / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3245, allocations: 0 / 0.5657 GB, free: 36 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.0008602/0.3253, allocations: 0.597 MB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3254, allocations: 8.031 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3254, allocations: 34.75 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.3255, allocations: 44.66 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3258, allocations: 250.7 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3259, allocations: 4.375 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3259, allocations: 4.375 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.326, allocations: 70.22 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3261, allocations: 7.922 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.3261, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3261, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3262, allocations: 35.92 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3267, allocations: 375.8 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3268, allocations: 50.59 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.3269, allocations: 20.94 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3269, allocations: 7.984 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3269, allocations: 30.56 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3269, allocations: 0 / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009206/0.3278, allocations: 328.5 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3279, allocations: 55.39 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.3289, allocations: 0.8776 MB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.3289, allocations: 25.7 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3291, allocations: 224.1 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3292, allocations: 35.73 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.3292, allocations: 21.72 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3294, allocations: 362.8 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.3295, allocations: 31.97 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.3295, allocations: 32.05 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3298, allocations: 80.75 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3298, allocations: 7.938 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000258/0.33, allocations: 153.3 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.33, allocations: 4 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.33, allocations: 0 / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.33, allocations: 0 / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3301, allocations: 23.98 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3302, allocations: 3.938 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.3302, allocations: 7.938 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3302, allocations: 4 kB / 0.5694 GB, free: 12.06 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.000205/0.3304, allocations: 221.7 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.3305, allocations: 43.72 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.3308, allocations: 173.5 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3308, allocations: 0 / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3308, allocations: 0 / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3309, allocations: 11.92 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.3316, allocations: 0.4905 MB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3316, allocations: 0 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.3316, allocations: 23.92 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3316, allocations: 3.938 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.3316, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3316, allocations: 4 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3317, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.332, allocations: 252.9 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.3321, allocations: 43.61 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3321, allocations: 4 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.3322, allocations: 7.984 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3322, allocations: 15.91 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3322, allocations: 4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006956/0.3329, allocations: 0.6589 MB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3329, allocations: 0 / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3332, allocations: 27.98 kB / 0.5713 GB, free: 9.992 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.002167/0.3353, allocations: 1.142 MB / 0.5724 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3356, allocations: 79.89 kB / 0.5725 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3356, allocations: 0 / 0.5725 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.3357, allocations: 39.92 kB / 0.5726 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3361, allocations: 30.23 kB / 0.5726 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.34, allocations: 3.392 MB / 0.5759 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3405, allocations: 0.8299 MB / 0.5767 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.6e-05/0.3406, allocations: 28.7 kB / 0.5767 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.3408, allocations: 115.4 kB / 0.5768 GB, free: 4.352 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3408, allocations: 4 kB / 0.5768 GB, free: 4.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.3714, allocations: 6.55 MB / 0.5832 GB, free: 13.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/8.926, allocations: 5.953 kB / 0.5833 GB, free: 13.79 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.820229010190815] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.071849034167826 9.097403366 8.769526208 Calling exit ...