Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.0016/0.0016, allocations: 111.5 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.001389/0.001389, allocations: 208.5 kB / 24.51 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2149/0.2149, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 87.8 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2912, allocations: 66.07 MB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003278/0.2945, allocations: 1.78 MB / 0.5632 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2971, allocations: 1.727 MB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.2972, allocations: 0 / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.2975, allocations: 59.62 kB / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.2979, allocations: 147.4 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.2982, allocations: 107.7 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2984, allocations: 203.3 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.2985, allocations: 9.812 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2986, allocations: 83.62 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2988, allocations: 90.8 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.2988, allocations: 8 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.299, allocations: 107.9 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.2991, allocations: 47.77 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.2992, allocations: 39.73 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.2995, allocations: 236.9 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2995, allocations: 4 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2995, allocations: 0 / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2996, allocations: 0 / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000685/0.3002, allocations: 428.9 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3003, allocations: 12.03 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.3003, allocations: 12.09 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.3003, allocations: 34.75 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.3004, allocations: 16.84 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.3007, allocations: 190.1 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3008, allocations: 8.375 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3008, allocations: 4.375 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.301, allocations: 164.3 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3011, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3011, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3011, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3012, allocations: 39.97 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.3014, allocations: 185.6 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.3017, allocations: 101.2 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.3018, allocations: 37.7 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3018, allocations: 7.922 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.3021, allocations: 109 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3021, allocations: 0 / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004767/0.3025, allocations: 181.4 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.3026, allocations: 128.5 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3029, allocations: 246.3 kB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3029, allocations: 33.7 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.303, allocations: 116.1 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.3031, allocations: 31.73 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.3031, allocations: 29.7 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3033, allocations: 326.8 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.3033, allocations: 31.98 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3035, allocations: 128.5 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3037, allocations: 99.38 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3037, allocations: 0 / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002856/0.304, allocations: 149.9 kB / 0.5687 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.304, allocations: 4 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.304, allocations: 128 / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.304, allocations: 4 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3041, allocations: 27.92 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3041, allocations: 4 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.3042, allocations: 12.02 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3042, allocations: 11.94 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001234/0.3044, allocations: 133.8 kB / 0.5689 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3044, allocations: 23.78 kB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.3048, allocations: 162.7 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3048, allocations: 4 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3048, allocations: 0 / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3048, allocations: 0 / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.305, allocations: 192.5 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.305, allocations: 3.984 kB / 0.5693 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.305, allocations: 16 kB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.305, allocations: 0 / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.305, allocations: 7.938 kB / 0.5693 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.305, allocations: 4 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.305, allocations: 0 / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.3054, allocations: 181.8 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.3054, allocations: 23.84 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3054, allocations: 4 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.3055, allocations: 4 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3056, allocations: 11.98 kB / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3056, allocations: 15.92 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3058, allocations: 188.5 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3058, allocations: 0 / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3061, allocations: 51.86 kB / 0.5698 GB, free: 11.08 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002372/0.3085, allocations: 1.151 MB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3087, allocations: 79.91 kB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3087, allocations: 0 / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3088, allocations: 48.03 kB / 0.571 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3092, allocations: 58.67 kB / 0.5711 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3115, allocations: 1.916 MB / 0.573 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.193e-05/0.3115, allocations: 107.5 kB / 0.5731 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.3116, allocations: 37.94 kB / 0.5731 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3117, allocations: 59.41 kB / 0.5731 GB, free: 7.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3117, allocations: 0 / 0.5731 GB, free: 7.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.3387, allocations: 5.861 MB / 0.5789 GB, free: 1.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.32, allocations: 8 kB / 0.5789 GB, free: 1.836 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.083899743971415] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.528065890073776 11.542452528 11.239932271 Calling exit ...