Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001288/0.001288, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001393/0.001393, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.44/1.44, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2254/0.2254, allocations: 46.94 MB / 361.6 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 83.84 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2979, allocations: 66.07 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003295/0.3012, allocations: 1.846 MB / 0.5634 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3031, allocations: 1.122 MB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.3032, allocations: 7.938 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.3037, allocations: 299.3 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.3042, allocations: 255.2 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3044, allocations: 111.6 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.3047, allocations: 259.2 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.3048, allocations: 13.8 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.305, allocations: 135.5 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.3053, allocations: 212 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3053, allocations: 8 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3054, allocations: 48.06 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3055, allocations: 132.5 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3057, allocations: 150.7 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.3061, allocations: 380.2 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3061, allocations: 0 / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3061, allocations: 0 / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3061, allocations: 4 kB / 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.0009685/0.3071, allocations: 0.6785 MB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3071, allocations: 8.031 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.3072, allocations: 34.75 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.3073, allocations: 48.61 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.3079, allocations: 394.6 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3079, allocations: 384 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3079, allocations: 4.375 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3081, allocations: 99.42 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3081, allocations: 0 / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3081, allocations: 0 / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3081, allocations: 4 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3083, allocations: 31.97 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.3087, allocations: 345.5 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.3089, allocations: 105.2 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.309, allocations: 33.7 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.309, allocations: 0 / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3093, allocations: 120.9 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3093, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004801/0.3097, allocations: 205.2 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3098, allocations: 81.11 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.311, allocations: 1.03 MB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.311, allocations: 25.7 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3112, allocations: 232.1 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3112, allocations: 27.84 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.3113, allocations: 25.7 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3115, allocations: 370.8 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.3116, allocations: 23.98 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3117, allocations: 70.86 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.3119, allocations: 83.91 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3119, allocations: 0 / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003107/0.3122, allocations: 185 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3122, allocations: 14.56 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3122, allocations: 0 / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3122, allocations: 7.984 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3123, allocations: 16 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3123, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.3124, allocations: 15.88 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3124, allocations: 8 kB / 0.5706 GB, free: 10.82 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.0002238/0.3126, allocations: 223.5 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.3127, allocations: 55.61 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.3131, allocations: 209.7 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3131, allocations: 0 / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3131, allocations: 0 / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3131, allocations: 0 / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3134, allocations: 316.5 kB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3134, allocations: 3.938 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.3135, allocations: 8 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3135, allocations: 0 / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3135, allocations: 11.98 kB / 0.5713 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3135, allocations: 4 kB / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3135, allocations: 0 / 0.5713 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3139, allocations: 221.7 kB / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.314, allocations: 67.53 kB / 0.5716 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.314, allocations: 4 kB / 0.5716 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.3141, allocations: 7.922 kB / 0.5716 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3141, allocations: 15.98 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3142, allocations: 8 kB / 0.5717 GB, free: 9.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000881/0.315, allocations: 0.7604 MB / 0.5724 GB, free: 8.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.315, allocations: 0 / 0.5724 GB, free: 8.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3153, allocations: 43.98 kB / 0.5724 GB, free: 8.801 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.002038/0.3173, allocations: 1.04 MB / 0.5735 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.3176, allocations: 91.83 kB / 0.5735 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3176, allocations: 0 / 0.5735 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3177, allocations: 43.91 kB / 0.5736 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3181, allocations: 65.5 kB / 0.5736 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.324, allocations: 4.485 MB / 0.578 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.3247, allocations: 0.8425 MB / 0.5788 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.3249, allocations: 58.95 kB / 0.5789 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.3251, allocations: 151.4 kB / 0.5791 GB, free: 2 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3251, allocations: 3.938 kB / 0.5791 GB, free: 1.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.3602, allocations: 9.123 MB / 0.588 GB, free: 8.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/8.953, allocations: 0 / 0.588 GB, free: 8.879 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.786153051070869] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.100741476751864 9.128082387 8.817130758 Calling exit ...