Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001236/0.001236, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001516/0.001516, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.365/1.365, 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.2232/0.2232, allocations: 46.95 MB / 361.6 MB, free: 3.941 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.88 kB / 0.497 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 66.09 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003376/0.3193, allocations: 1.78 MB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3212, allocations: 1.045 MB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.3212, allocations: 0 / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.3218, allocations: 311.3 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004983/0.3223, allocations: 259.2 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.3225, allocations: 107.6 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.3229, allocations: 267.3 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.3229, allocations: 9.797 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3231, allocations: 135.5 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.3234, allocations: 215.4 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3234, allocations: 12 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3235, allocations: 43.98 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3237, allocations: 143.6 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3238, allocations: 115 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.3243, allocations: 392 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3243, allocations: 0 / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3243, allocations: 0 / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3243, allocations: 3.938 kB / 0.5662 GB, free: 15.22 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.0009637/0.3252, allocations: 0.6786 MB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3253, allocations: 12.03 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.429e-05/0.3253, allocations: 4.188 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.3253, allocations: 38.75 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.3254, allocations: 48.61 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.326, allocations: 394.5 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.326, allocations: 4.375 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.326, allocations: 12.36 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3262, allocations: 95.23 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3263, allocations: 0 / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3263, allocations: 4 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3263, allocations: 4 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3264, allocations: 39.91 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3268, allocations: 337.4 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3271, allocations: 101.2 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.3272, allocations: 37.7 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3272, allocations: 7.922 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.3274, allocations: 117 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3274, allocations: 0 / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005064/0.328, allocations: 205.3 kB / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.328, allocations: 81.05 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.3292, allocations: 1.058 MB / 0.5693 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3292, allocations: 33.7 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3294, allocations: 236.1 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3295, allocations: 35.78 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.3295, allocations: 25.72 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3297, allocations: 370.8 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.3298, allocations: 35.97 kB / 0.57 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3299, allocations: 55.42 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3301, allocations: 95.34 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3301, allocations: 0 / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003231/0.3304, allocations: 177.7 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3304, allocations: 4 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3304, allocations: 8.188 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3304, allocations: 0 / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3306, allocations: 31.86 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3306, allocations: 4 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.3307, allocations: 11.94 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3307, allocations: 4 kB / 0.5704 GB, free: 10.61 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.0002213/0.3309, allocations: 224 kB / 0.5706 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.331, allocations: 59.56 kB / 0.5707 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.3314, allocations: 205.8 kB / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3314, allocations: 8 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3314, allocations: 0 / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3314, allocations: 3.938 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3317, allocations: 292.5 kB / 0.5712 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3317, allocations: 0 / 0.5712 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.3317, allocations: 11.94 kB / 0.5712 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3317, allocations: 4 kB / 0.5712 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3317, allocations: 3.984 kB / 0.5712 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3317, allocations: 4 kB / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3317, allocations: 0 / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.3321, allocations: 221.5 kB / 0.5714 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3322, allocations: 71.58 kB / 0.5715 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.3323, allocations: 11.98 kB / 0.5715 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.3324, allocations: 0 / 0.5715 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3324, allocations: 11.92 kB / 0.5715 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3324, allocations: 12 kB / 0.5715 GB, free: 9.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008671/0.3333, allocations: 0.7917 MB / 0.5723 GB, free: 8.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 0 / 0.5723 GB, free: 8.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3336, allocations: 44 kB / 0.5723 GB, free: 8.578 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.002154/0.3357, allocations: 1.101 MB / 0.5734 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.336, allocations: 83.89 kB / 0.5735 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.336, allocations: 0 / 0.5735 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3361, allocations: 35.98 kB / 0.5735 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3365, allocations: 80.06 kB / 0.5736 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.3421, allocations: 4.602 MB / 0.5781 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3424, allocations: 241.7 kB / 0.5783 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.3425, allocations: 54.95 kB / 0.5784 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.3427, allocations: 151.4 kB / 0.5785 GB, free: 2.234 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3427, allocations: 4 kB / 0.5785 GB, free: 2.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.3749, allocations: 9.662 MB / 0.588 GB, free: 8.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 8.047 kB / 0.588 GB, free: 8.637 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.572006219998002] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.007726776995696 12.023098868 11.695822032 Calling exit ...