Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001289/0.001289, 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.001446/0.001446, allocations: 207.4 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.392/1.392, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2203/0.2203, allocations: 46.93 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 79.86 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00336/0.3157, allocations: 1.846 MB / 0.5634 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3177, allocations: 1.113 MB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.3178, allocations: 7.875 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.3183, allocations: 299.3 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.3189, allocations: 251.2 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3191, allocations: 107.7 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.3195, allocations: 267.2 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.833e-05/0.3196, allocations: 17.73 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3198, allocations: 135.5 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.32, allocations: 211.9 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3201, allocations: 8 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3202, allocations: 44.03 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3203, allocations: 140.5 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3205, allocations: 146.7 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.321, allocations: 368.2 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.321, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.321, allocations: 4 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.321, allocations: 0 / 0.5664 GB, free: 15.34 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.001099/0.3221, allocations: 0.6786 MB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3222, allocations: 12.03 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.3222, allocations: 192 / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.3222, allocations: 38.73 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.3223, allocations: 56.55 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.3229, allocations: 390.6 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.323, allocations: 384 / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.323, allocations: 16.36 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3232, allocations: 87.3 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3232, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3232, allocations: 4 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3232, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3233, allocations: 31.91 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3237, allocations: 349.5 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.324, allocations: 101.2 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.3241, allocations: 37.7 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3241, allocations: 7.938 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.3243, allocations: 109 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3243, allocations: 0 / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004964/0.3248, allocations: 197.3 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.3249, allocations: 84.98 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.3261, allocations: 1.03 MB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3262, allocations: 33.7 kB / 0.5695 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3264, allocations: 232.1 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.3264, allocations: 23.84 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.3265, allocations: 33.7 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3267, allocations: 362.8 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.3268, allocations: 27.98 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3269, allocations: 70.66 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3271, allocations: 95.8 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3271, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003153/0.3274, allocations: 177.2 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3274, allocations: 10.19 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3274, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3274, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3275, allocations: 31.92 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3275, allocations: 0 / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.3276, allocations: 11.89 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3277, allocations: 4 kB / 0.5705 GB, free: 10.8 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.0002281/0.3279, allocations: 228 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.3279, allocations: 55.55 kB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.3283, allocations: 189.8 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3283, allocations: 4 kB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3283, allocations: 0 / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3283, allocations: 3.938 kB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3288, allocations: 316.5 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3288, allocations: 4 kB / 0.5713 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.3288, allocations: 11.98 kB / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3288, allocations: 256 / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3289, allocations: 8 kB / 0.5713 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3289, allocations: 4 kB / 0.5713 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3289, allocations: 3.984 kB / 0.5713 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.3292, allocations: 217.4 kB / 0.5715 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.3294, allocations: 67.55 kB / 0.5716 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.3294, allocations: 7.984 kB / 0.5716 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.3295, allocations: 8 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.3295, allocations: 7.984 kB / 0.5716 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3296, allocations: 8 kB / 0.5716 GB, free: 9.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009254/0.3305, allocations: 0.7643 MB / 0.5724 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3305, allocations: 0 / 0.5724 GB, free: 8.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3308, allocations: 44 kB / 0.5724 GB, free: 8.789 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.002122/0.3329, allocations: 1.061 MB / 0.5735 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3332, allocations: 75.91 kB / 0.5735 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3332, allocations: 0 / 0.5735 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3333, allocations: 43.97 kB / 0.5736 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.3337, allocations: 76.45 kB / 0.5736 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.3402, allocations: 4.473 MB / 0.578 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.3408, allocations: 0.8426 MB / 0.5788 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.341, allocations: 66.88 kB / 0.5789 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.3412, allocations: 147.4 kB / 0.579 GB, free: 1.984 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3412, allocations: 0 / 0.579 GB, free: 1.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.3715, allocations: 9.237 MB / 0.5881 GB, free: 8.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.55, allocations: 12 kB / 0.5881 GB, free: 8.781 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.373137252987362] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.767852713994216 11.794279874 11.468180756 Calling exit ...