Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.00129/0.00129, 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.001602/0.001602, 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2217/0.2217, allocations: 46.92 MB / 361.6 MB, free: 4.273 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 75.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 66.09 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003132/0.3275, allocations: 1.838 MB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3294, allocations: 1.111 MB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.3295, allocations: 11.88 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.33, allocations: 307.3 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.3305, allocations: 247.2 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3307, allocations: 111.7 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.331, allocations: 263.2 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.3311, allocations: 5.812 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3313, allocations: 139.5 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.3315, allocations: 211.9 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3315, allocations: 8 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3316, allocations: 51.97 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.3318, allocations: 136.5 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.332, allocations: 154.7 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.3324, allocations: 364.2 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3324, allocations: 0 / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3324, allocations: 0 / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3324, allocations: 0 / 0.5664 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.00101/0.3334, allocations: 0.6825 MB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3335, allocations: 8.031 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.415e-05/0.3335, allocations: 12.19 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.3335, allocations: 34.69 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.3336, allocations: 48.61 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.3342, allocations: 390.6 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3343, allocations: 8.375 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3343, allocations: 384 / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3345, allocations: 91.3 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.3345, allocations: 8 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3345, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3345, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3346, allocations: 35.91 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.335, allocations: 337.5 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.3353, allocations: 109.2 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.3354, allocations: 33.7 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3354, allocations: 7.938 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.3357, allocations: 109 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3357, allocations: 4 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005058/0.3362, allocations: 201.2 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3362, allocations: 85.05 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3374, allocations: 1.03 MB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3374, allocations: 25.7 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3376, allocations: 236.1 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3376, allocations: 23.86 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.3377, allocations: 29.7 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3379, allocations: 374.7 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.338, allocations: 27.98 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.3381, allocations: 55.41 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3382, allocations: 91.86 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3382, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.3385, allocations: 181.2 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3386, allocations: 4 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3386, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3386, allocations: 4 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3387, allocations: 24 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3387, allocations: 11.98 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.3388, allocations: 11.89 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3388, allocations: 4 kB / 0.5705 GB, free: 10.79 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.000242/0.3391, allocations: 227.9 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.3391, allocations: 55.61 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.3395, allocations: 189.8 kB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3395, allocations: 3.938 kB / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3395, allocations: 8 kB / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3396, allocations: 0 / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3399, allocations: 320.5 kB / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3399, allocations: 0 / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.3399, allocations: 8 kB / 0.5713 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3399, allocations: 4 kB / 0.5713 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.34, allocations: 3.984 kB / 0.5713 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.34, allocations: 4 kB / 0.5713 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.34, allocations: 0 / 0.5713 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.3403, allocations: 225.6 kB / 0.5715 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3404, allocations: 63.59 kB / 0.5716 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.3405, allocations: 8 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.3406, allocations: 7.984 kB / 0.5716 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.3406, allocations: 7.984 kB / 0.5716 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.3406, allocations: 8 kB / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008426/0.3415, allocations: 0.7682 MB / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3415, allocations: 0 / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3417, allocations: 40 kB / 0.5724 GB, free: 8.781 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.002123/0.3439, allocations: 1.059 MB / 0.5735 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3441, allocations: 83.91 kB / 0.5735 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3441, allocations: 0 / 0.5735 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3442, allocations: 43.91 kB / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3447, allocations: 61.03 kB / 0.5736 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.3507, allocations: 4.481 MB / 0.578 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.3512, allocations: 0.8504 MB / 0.5788 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3514, allocations: 58.92 kB / 0.5789 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3516, allocations: 151.4 kB / 0.579 GB, free: 1.977 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3516, allocations: 0 / 0.579 GB, free: 1.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.3819, allocations: 9.238 MB / 0.5881 GB, free: 8.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 8 kB / 0.5881 GB, free: 8.773 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.3948000499513] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.772642127994914 11.788051966 11.452574544 Calling exit ...