Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_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.001238/0.001238, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001499/0.001499, allocations: 217.6 kB / 24.53 MB, free: 4.008 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.94 MB / 361.6 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00308/0.00308, allocations: 79.88 kB / 0.497 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2961, allocations: 66.08 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003085/0.2992, allocations: 1.748 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3009, allocations: 1.076 MB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.301, allocations: 0 / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3013, allocations: 35.77 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.3017, allocations: 99.53 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.3019, allocations: 71.75 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3021, allocations: 119.6 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3022, allocations: 17.8 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3023, allocations: 43.8 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.3024, allocations: 47.77 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3024, allocations: 8 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3026, allocations: 111.9 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.3026, allocations: 23.91 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.3027, allocations: 39.67 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.303, allocations: 175.4 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.303, allocations: 0 / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.303, allocations: 4 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.303, allocations: 0 / 0.5651 GB, free: 0.6289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000556/0.3036, allocations: 357.4 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3036, allocations: 12.03 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/0.3036, allocations: 192 / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.3037, allocations: 34.73 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3037, allocations: 16.83 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.304, allocations: 158.3 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.304, allocations: 4.422 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.304, allocations: 4.375 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.3042, allocations: 75.31 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3042, allocations: 0 / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3042, allocations: 0 / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3042, allocations: 0 / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.3043, allocations: 27.92 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.3046, allocations: 252 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3048, allocations: 58.61 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.3048, allocations: 24.98 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.3049, allocations: 7.984 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.305, allocations: 71.33 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.305, allocations: 4 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005767/0.3056, allocations: 205.2 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.3057, allocations: 81.11 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3059, allocations: 166.1 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3059, allocations: 29.7 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.3059, allocations: 96.14 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.306, allocations: 31.73 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.306, allocations: 37.64 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3062, allocations: 326.8 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.3063, allocations: 27.98 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.3063, allocations: 61.88 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3065, allocations: 73.7 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3065, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002246/0.3067, allocations: 125.6 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3067, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3067, allocations: 4 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3067, allocations: 0 / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.3068, allocations: 16 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3068, allocations: 7.922 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.3069, allocations: 15.94 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.3069, allocations: 4 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001057/0.307, allocations: 129.8 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.307, allocations: 11.91 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.3073, allocations: 134.8 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3073, allocations: 0 / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3073, allocations: 0 / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3073, allocations: 3.938 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.3078, allocations: 394.3 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3078, allocations: 4.031 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.3079, allocations: 15.94 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3079, allocations: 7.875 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3079, allocations: 7.984 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3079, allocations: 0 / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3079, allocations: 3.984 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3081, allocations: 212.3 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.3082, allocations: 23.83 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3082, allocations: 4 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.3083, allocations: 4 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3083, allocations: 7.984 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3083, allocations: 4 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.3084, allocations: 127.1 kB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3084, allocations: 0 / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.3087, allocations: 51.86 kB / 0.5685 GB, free: 12.82 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002363/0.3111, allocations: 1.205 MB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3113, allocations: 71.84 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3113, allocations: 0 / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.3114, allocations: 31.98 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3118, allocations: 31.97 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3137, allocations: 1.677 MB / 0.5714 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.314, allocations: 0.7044 MB / 0.5721 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.3141, allocations: 20.42 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.3142, allocations: 51.34 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3142, allocations: 0 / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.3372, allocations: 4.442 MB / 0.5765 GB, free: 4.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 7.438 kB / 0.5765 GB, free: 4.645 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.825525057967752] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.249484689964447 11.265166757 10.958853779 Calling exit ...