Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001827/0.001827, allocations: 106.5 kB / 21.22 MB, free: 0.5273 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.002179/0.002179, allocations: 213.3 kB / 24.54 MB, free: 3.895 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.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2237/0.2237, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002322/0.002322, allocations: 87.84 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3106, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003053/0.3136, allocations: 1.622 MB / 0.5631 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3147, allocations: 0.581 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.3148, allocations: 4 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.315, allocations: 27.8 kB / 0.5637 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.3152, allocations: 75.67 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3156, allocations: 111.7 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3157, allocations: 75.77 kB / 0.564 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.3158, allocations: 7.984 kB / 0.564 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.3159, allocations: 31.86 kB / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.316, allocations: 31.84 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.316, allocations: 11.94 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.3162, allocations: 95.94 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.3162, allocations: 23.91 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.3162, allocations: 23.81 kB / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3165, allocations: 147.5 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3165, allocations: 0 / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3165, allocations: 0 / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3165, allocations: 0 / 0.5643 GB, free: 1.465 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004755/0.317, allocations: 337.7 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.317, allocations: 8.031 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.3171, allocations: 34.75 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3171, allocations: 8.891 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3173, allocations: 140.5 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3173, allocations: 4.375 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3173, allocations: 4.375 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3175, allocations: 59.97 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3175, allocations: 3.938 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3175, allocations: 0 / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3175, allocations: 11.98 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.3176, allocations: 27.92 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.318, allocations: 267.9 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3181, allocations: 46.5 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.3182, allocations: 28.94 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3182, allocations: 3.984 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3182, allocations: 34.5 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3182, allocations: 0 / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006095/0.3188, allocations: 185.3 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.3189, allocations: 81.05 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3191, allocations: 157.5 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3191, allocations: 25.7 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.3191, allocations: 92.14 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3192, allocations: 27.78 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3192, allocations: 25.72 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3194, allocations: 322.8 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.3195, allocations: 27.98 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.3195, allocations: 49.69 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3197, allocations: 72.8 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3197, allocations: 0 / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000228/0.3199, allocations: 109.5 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.32, allocations: 4 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.32, allocations: 0 / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.32, allocations: 4.031 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3201, allocations: 19.98 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3201, allocations: 320 / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.3201, allocations: 7.984 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3201, allocations: 0 / 0.5664 GB, free: 15.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 9.335e-05/0.3202, allocations: 126.7 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.3203, allocations: 7.953 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.3205, allocations: 118.3 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3205, allocations: 0 / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3205, allocations: 4 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3206, allocations: 3.984 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.3211, allocations: 365.4 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3211, allocations: 0 / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.3211, allocations: 15.98 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3211, allocations: 7.938 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3211, allocations: 4 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3211, allocations: 3.938 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3211, allocations: 0 / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3214, allocations: 199.4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.3214, allocations: 11.94 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3215, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.3215, allocations: 15.94 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.3216, allocations: 7.984 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3216, allocations: 4 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3217, allocations: 117.6 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3217, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.322, allocations: 35.88 kB / 0.5674 GB, free: 13.95 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 (7): * Single equations (assignments): 7 * 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.00216/0.3241, allocations: 1.12 MB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3244, allocations: 71.88 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3244, allocations: 4 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.3245, allocations: 27.98 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3248, allocations: 29.8 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3266, allocations: 1.53 MB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3269, allocations: 0.6924 MB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.327, allocations: 36.98 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.3271, allocations: 31.42 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3271, allocations: 0 / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3542, allocations: 3.585 MB / 0.5744 GB, free: 6.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.536, allocations: 5.484 kB / 0.5744 GB, free: 6.832 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.37190916389227] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.677202625200152 8.704447681 8.383313948 Calling exit ...