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.001229/0.001229, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001505/0.001505, allocations: 209.9 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.357/1.357, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2181/0.2181, allocations: 46.95 MB / 361.6 MB, free: 4.039 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.00302/0.00302, allocations: 79.88 kB / 0.497 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2928, allocations: 66.09 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003594/0.2964, allocations: 1.782 MB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2984, allocations: 1.041 MB / 0.5642 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.2985, allocations: 4 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.299, allocations: 303.2 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.2995, allocations: 259.2 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2998, allocations: 107.6 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.3001, allocations: 267.3 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.3001, allocations: 5.812 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.3003, allocations: 131.5 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3006, allocations: 219.9 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3006, allocations: 4 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3007, allocations: 47.98 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.3009, allocations: 136.5 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.301, allocations: 115 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.3014, allocations: 380.2 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3014, allocations: 0 / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3014, allocations: 0 / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3015, allocations: 0 / 0.5661 GB, free: 15.25 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.0009364/0.3024, allocations: 0.6747 MB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3024, allocations: 8.031 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.3024, allocations: 4.188 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.3025, allocations: 34.69 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.3026, allocations: 52.61 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.3031, allocations: 390.6 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3031, allocations: 384 / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3032, allocations: 4.375 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3034, allocations: 99.23 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3034, allocations: 0 / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3034, allocations: 3.938 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3034, allocations: 0 / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3035, allocations: 39.91 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3039, allocations: 325.5 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.3042, allocations: 109.2 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3043, allocations: 37.7 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3043, allocations: 3.938 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.3045, allocations: 113 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3045, allocations: 0 / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004931/0.305, allocations: 205.7 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3051, allocations: 93.03 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.3062, allocations: 1.03 MB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3063, allocations: 29.7 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3064, allocations: 228.1 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3065, allocations: 27.84 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.3065, allocations: 29.7 kB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3067, allocations: 366.8 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.3068, allocations: 27.98 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3069, allocations: 70.78 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3071, allocations: 95.42 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3071, allocations: 3.984 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003305/0.3074, allocations: 181.2 kB / 0.5703 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3075, allocations: 4 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3075, allocations: 0 / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3075, allocations: 4 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3076, allocations: 23.92 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3076, allocations: 4.062 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.3077, allocations: 19.88 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3077, allocations: 4 kB / 0.5703 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.0002154/0.3079, allocations: 220 kB / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.308, allocations: 59.59 kB / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.3084, allocations: 205.8 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3084, allocations: 256 / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3084, allocations: 0 / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3084, allocations: 11.94 kB / 0.5708 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3087, allocations: 300.5 kB / 0.5711 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3087, allocations: 3.938 kB / 0.5711 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.3088, allocations: 12 kB / 0.5711 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3088, allocations: 0 / 0.5711 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3088, allocations: 3.984 kB / 0.5711 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3088, allocations: 4 kB / 0.5711 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3088, allocations: 0 / 0.5711 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3091, allocations: 221.5 kB / 0.5713 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3092, allocations: 63.61 kB / 0.5714 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3093, allocations: 7.922 kB / 0.5714 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.3094, allocations: 12 kB / 0.5714 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3094, allocations: 7.984 kB / 0.5714 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3094, allocations: 11.98 kB / 0.5714 GB, free: 9.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008406/0.3103, allocations: 0.7643 MB / 0.5722 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3103, allocations: 4 kB / 0.5722 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3105, allocations: 40 kB / 0.5722 GB, free: 8.699 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.002138/0.3127, allocations: 1.094 MB / 0.5733 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3129, allocations: 83.89 kB / 0.5734 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3129, allocations: 4 kB / 0.5734 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.313, allocations: 43.97 kB / 0.5734 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3135, allocations: 63.83 kB / 0.5735 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.319, allocations: 4.495 MB / 0.5779 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3192, allocations: 241.7 kB / 0.5781 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.3194, allocations: 59.44 kB / 0.5781 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3196, allocations: 151.4 kB / 0.5783 GB, free: 2.473 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3196, allocations: 0 / 0.5783 GB, free: 2.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.351, allocations: 9.501 MB / 0.5876 GB, free: 9.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.8, allocations: 4.578 kB / 0.5876 GB, free: 9.039 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.55982781900093] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.015945371007547 12.02947313 11.725125596 Calling exit ...