Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001302/0.001302, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001411/0.001411, allocations: 208.2 kB / 24.53 MB, free: 4.07 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.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2194/0.2194, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 66.08 MB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002968/0.3147, allocations: 1.745 MB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3163, allocations: 1.045 MB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.3164, allocations: 4 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.3166, allocations: 43.75 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.3169, allocations: 103.5 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.3171, allocations: 83.66 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3172, allocations: 99.75 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.3173, allocations: 5.828 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.3174, allocations: 55.7 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.3175, allocations: 31.8 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3175, allocations: 4 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.3176, allocations: 39.98 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.3177, allocations: 23.91 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.3177, allocations: 35.73 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3179, allocations: 131.4 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3179, allocations: 0 / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3179, allocations: 0 / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3179, allocations: 3.938 kB / 0.5649 GB, free: 0.8008 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.0005081/0.3184, allocations: 349.5 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3185, allocations: 8.031 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.075e-05/0.3185, allocations: 192 / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.3185, allocations: 30.75 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3185, allocations: 12.89 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3188, allocations: 166.9 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-06/0.3188, allocations: 384 / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3188, allocations: 4.375 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.319, allocations: 57.61 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.319, allocations: 0 / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.319, allocations: 3.984 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.319, allocations: 0 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.353e-05/0.3191, allocations: 27.92 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.3194, allocations: 256 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3196, allocations: 50.69 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.3196, allocations: 20.84 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3196, allocations: 3.938 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.3198, allocations: 67.39 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3198, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005209/0.3203, allocations: 181.3 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3203, allocations: 59.34 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3205, allocations: 198.3 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3206, allocations: 29.7 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.3206, allocations: 100.1 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3207, allocations: 27.78 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3207, allocations: 29.7 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3208, allocations: 330.8 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.3209, allocations: 12 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.321, allocations: 37.7 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3211, allocations: 62.02 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3211, allocations: 4 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.3213, allocations: 105.5 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3213, allocations: 6.062 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3213, allocations: 4 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3213, allocations: 7.938 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.3214, allocations: 12 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3214, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.3214, allocations: 11.98 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3214, allocations: 3.938 kB / 0.5671 GB, free: 14.36 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 (10): * Single equations (assignments): 10 * 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.0001137/0.3216, allocations: 133.2 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3216, allocations: 11.91 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.3218, allocations: 119.1 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3218, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3218, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3218, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.3223, allocations: 366.3 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3223, allocations: 4.031 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.3223, allocations: 8 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3223, allocations: 0 / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3223, allocations: 7.938 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3223, allocations: 4 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3223, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3226, allocations: 208.2 kB / 0.5679 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.3226, allocations: 15.89 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3226, allocations: 7.938 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.3227, allocations: 4 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3227, allocations: 7.984 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3228, allocations: 3.984 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3229, allocations: 148.2 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 4 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3231, allocations: 23.94 kB / 0.5681 GB, free: 13.21 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 (8): * Single equations (assignments): 6 * 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.002022/0.3252, allocations: 1.088 MB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.3253, allocations: 59.89 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3253, allocations: 0 / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.3254, allocations: 23.98 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3258, allocations: 39.34 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3275, allocations: 1.656 MB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3278, allocations: 0.708 MB / 0.5716 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.3279, allocations: 16.97 kB / 0.5716 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.328, allocations: 39.42 kB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.328, allocations: 0 / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.3497, allocations: 3.644 MB / 0.5752 GB, free: 6.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.87, allocations: 4.062 kB / 0.5752 GB, free: 6.008 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.754467400023714] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.078852207981981 11.102286951 10.781312672 Calling exit ...