Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001724/0.001724, 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.002219/0.002219, 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.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2229/0.2229, allocations: 46.94 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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",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.002302/0.002302, allocations: 76.16 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 66.09 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003101/0.3063, allocations: 1.637 MB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3074, allocations: 0.5577 MB / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.3074, allocations: 11.94 kB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.3077, allocations: 75.77 kB / 0.5638 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.308, allocations: 107.6 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.3083, allocations: 111.7 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3084, allocations: 83.77 kB / 0.564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.3085, allocations: 11.98 kB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.3086, allocations: 35.89 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3087, allocations: 63.81 kB / 0.5642 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3087, allocations: 4 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.3088, allocations: 47.92 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.3089, allocations: 23.86 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.3089, allocations: 35.73 kB / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3091, allocations: 107.5 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3091, allocations: 0 / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3091, allocations: 0 / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.3091, allocations: 4 kB / 0.5644 GB, free: 1.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004599/0.3096, allocations: 337.6 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3096, allocations: 12.03 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.3097, allocations: 42.73 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3097, allocations: 12.84 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3099, allocations: 143 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3099, allocations: 384 / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3099, allocations: 8.375 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.31, allocations: 54.22 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.31, allocations: 7.922 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3101, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3101, allocations: 4 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.3102, allocations: 35.97 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.3105, allocations: 263.8 kB / 0.5652 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3106, allocations: 54.55 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.3107, allocations: 8.859 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3107, allocations: 8.094 kB / 0.5653 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3107, allocations: 38.55 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3107, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008319/0.3116, allocations: 237.2 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3116, allocations: 67.39 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3118, allocations: 210.3 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3119, allocations: 25.7 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.3119, allocations: 108.1 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.312, allocations: 31.73 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.312, allocations: 21.72 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3121, allocations: 326.8 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.3122, allocations: 39.91 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.3123, allocations: 23.98 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3124, allocations: 72.81 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3124, allocations: 0 / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002154/0.3127, allocations: 113.5 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3127, allocations: 10.44 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3127, allocations: 4 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3127, allocations: 4 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.3128, allocations: 19.98 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3128, allocations: 320 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.3128, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3128, allocations: 11.92 kB / 0.5666 GB, free: 14.92 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 9.578e-05/0.3129, allocations: 122.7 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.313, allocations: 15.91 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.3133, allocations: 142.9 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3133, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3133, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3133, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.3138, allocations: 398.3 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3138, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.3139, allocations: 24.02 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3139, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3139, allocations: 3.938 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3139, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3139, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3142, allocations: 212.7 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3142, allocations: 15.91 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3142, allocations: 7.938 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.3143, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.3143, allocations: 11.97 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3143, allocations: 0 / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3145, allocations: 168.2 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3145, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3147, allocations: 27.92 kB / 0.5677 GB, free: 13.69 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.002054/0.3168, allocations: 1.091 MB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.317, allocations: 75.92 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.317, allocations: 4 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.3171, allocations: 40.06 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3175, allocations: 16.98 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3195, allocations: 1.72 MB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3198, allocations: 0.708 MB / 0.5713 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3199, allocations: 28.59 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.32, allocations: 39.42 kB / 0.5714 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.32, allocations: 0 / 0.5714 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3473, allocations: 3.236 MB / 0.5745 GB, free: 6.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.459, allocations: 11.25 kB / 0.5745 GB, free: 6.758 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.325265232939273] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.604021766223013 8.629502991 8.315113766 Calling exit ...