Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001225/0.001225, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001401/0.001401, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2304/0.2304, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 83.86 kB / 0.497 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2969, allocations: 66.09 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003093/0.3, allocations: 1.741 MB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3016, allocations: 0.971 MB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.3017, allocations: 3.938 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.3021, allocations: 111.6 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.3024, allocations: 127.5 kB / 0.5644 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.3026, allocations: 83.67 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3028, allocations: 135.6 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3029, allocations: 19.41 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.303, allocations: 63.7 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3031, allocations: 83.72 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3031, allocations: 4 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3032, allocations: 59.98 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.3033, allocations: 43.89 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.3034, allocations: 39.62 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3036, allocations: 167.3 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3036, allocations: 0 / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3036, allocations: 0 / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3036, allocations: 0 / 0.5651 GB, free: 368 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005796/0.3042, allocations: 390.8 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3042, allocations: 8.031 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.08e-05/0.3043, allocations: 192 / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.3043, allocations: 42.75 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.3043, allocations: 28.72 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3046, allocations: 167.1 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3046, allocations: 384 / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.3046, allocations: 10.81 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3048, allocations: 73.66 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3048, allocations: 3.984 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3048, allocations: 0 / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3048, allocations: 0 / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.305, allocations: 43.97 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.3054, allocations: 299.7 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3057, allocations: 82.52 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.3057, allocations: 32.84 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3057, allocations: 0 / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3059, allocations: 79.31 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3059, allocations: 0 / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008763/0.3068, allocations: 321.2 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3068, allocations: 55.41 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.3071, allocations: 259.8 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3071, allocations: 34.55 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.3073, allocations: 124 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.3073, allocations: 51.58 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.3074, allocations: 25.72 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3075, allocations: 334.8 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.3076, allocations: 35.98 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3077, allocations: 57.69 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.3079, allocations: 113 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3079, allocations: 4 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002953/0.3082, allocations: 173.5 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3082, allocations: 7.984 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3083, allocations: 4 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3083, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.3084, allocations: 27.92 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3084, allocations: 4 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3084, allocations: 0 / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.3084, allocations: 8 kB / 0.5678 GB, free: 13.31 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 (16): * Single equations (assignments): 16 * 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.0001264/0.3086, allocations: 141.7 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3086, allocations: 19.84 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.309, allocations: 207 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.309, allocations: 4 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.309, allocations: 0 / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.309, allocations: 3.984 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.3097, allocations: 487 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3097, allocations: 4 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.3097, allocations: 28.05 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3098, allocations: 4 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3098, allocations: 0 / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3098, allocations: 4 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3098, allocations: 3.938 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.3101, allocations: 277 kB / 0.569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.3101, allocations: 23.89 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3102, allocations: 4 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.3103, allocations: 7.938 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3103, allocations: 11.98 kB / 0.569 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3103, allocations: 11.98 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.3105, allocations: 201.5 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3105, allocations: 0 / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3108, allocations: 35.92 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002509/0.3133, allocations: 1.252 MB / 0.5705 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.3136, allocations: 111.8 kB / 0.5706 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3136, allocations: 0 / 0.5706 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3137, allocations: 55.98 kB / 0.5706 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.314, allocations: 38.5 kB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3164, allocations: 2.034 MB / 0.5727 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3165, allocations: 119.5 kB / 0.5728 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.3166, allocations: 25.41 kB / 0.5728 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3167, allocations: 51.42 kB / 0.5728 GB, free: 8.152 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3167, allocations: 3.938 kB / 0.5728 GB, free: 8.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3412, allocations: 4.772 MB / 0.5775 GB, free: 3.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.06, allocations: 8.062 kB / 0.5775 GB, free: 3.41 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.937839876976795] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 11.274843104998581 11.293091537 10.986439884 Calling exit ...