Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.00185/0.00185, 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.002218/0.002218, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.212/0.212, allocations: 46.92 MB / 361.6 MB, free: 4.191 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 75.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2963, allocations: 66.07 MB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003263/0.2995, allocations: 1.846 MB / 0.5634 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3014, allocations: 1.121 MB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3015, allocations: 0 / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.302, allocations: 315.2 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3024, allocations: 255.2 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.3026, allocations: 103.7 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.303, allocations: 263.2 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.303, allocations: 17.78 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3032, allocations: 139.5 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.3035, allocations: 223.4 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3035, allocations: 4 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3036, allocations: 48.06 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3038, allocations: 143.5 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3039, allocations: 146.8 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.3044, allocations: 383.9 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3044, allocations: 0 / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3044, allocations: 0 / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3044, allocations: 4 kB / 0.5664 GB, free: 15.3 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.0009638/0.3053, allocations: 0.6824 MB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3054, allocations: 12.03 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.3054, allocations: 192 / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3054, allocations: 34.75 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.3055, allocations: 52.61 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.3061, allocations: 402.4 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3061, allocations: 8.375 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3062, allocations: 4.375 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3064, allocations: 91.3 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3064, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3064, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3064, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3065, allocations: 35.91 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3069, allocations: 357.4 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3072, allocations: 101.2 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.3073, allocations: 37.64 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3073, allocations: 11.94 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.3075, allocations: 105 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3075, allocations: 4 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004882/0.308, allocations: 197.2 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.308, allocations: 81.11 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3092, allocations: 1.058 MB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3092, allocations: 29.7 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3094, allocations: 240 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.3095, allocations: 27.81 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3095, allocations: 25.7 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.3098, allocations: 370.8 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.3098, allocations: 31.98 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3099, allocations: 62.66 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3101, allocations: 87.36 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3101, allocations: 0 / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003199/0.3105, allocations: 185.7 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3105, allocations: 6.188 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3105, allocations: 4 kB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3105, allocations: 0 / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.3106, allocations: 23.92 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3106, allocations: 4.062 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3108, allocations: 15.94 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3108, allocations: 4 kB / 0.5706 GB, free: 10.71 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002279/0.311, allocations: 232 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.3111, allocations: 59.56 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.3114, allocations: 193.8 kB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3114, allocations: 0 / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3115, allocations: 4 kB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3115, allocations: 3.984 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.3118, allocations: 324.5 kB / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3118, allocations: 0 / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.3118, allocations: 11.94 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3118, allocations: 4 kB / 0.5714 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3119, allocations: 7.984 kB / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3119, allocations: 0 / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3119, allocations: 0 / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3122, allocations: 213.5 kB / 0.5716 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3123, allocations: 67.59 kB / 0.5717 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3124, allocations: 11.94 kB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.3125, allocations: 11.98 kB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3125, allocations: 11.98 kB / 0.5717 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3125, allocations: 4 kB / 0.5717 GB, free: 9.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008136/0.3133, allocations: 0.7838 MB / 0.5725 GB, free: 8.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3133, allocations: 0 / 0.5725 GB, free: 8.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.3136, allocations: 40 kB / 0.5725 GB, free: 8.676 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001972/0.3156, allocations: 1.056 MB / 0.5736 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.3158, allocations: 83.89 kB / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3158, allocations: 0 / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3159, allocations: 39.92 kB / 0.5737 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3164, allocations: 77.39 kB / 0.5738 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.3219, allocations: 4.571 MB / 0.5782 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.3224, allocations: 0.8507 MB / 0.5791 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.3226, allocations: 62.92 kB / 0.5791 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.3228, allocations: 151.4 kB / 0.5793 GB, free: 1.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3228, allocations: 3.938 kB / 0.5793 GB, free: 1.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3528, allocations: 9.403 MB / 0.5885 GB, free: 8.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.54, allocations: 18.28 kB / 0.5885 GB, free: 8.391 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.361938968009781] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.75990212202305 11.787836853 11.478525152 Calling exit ...