Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.001811/0.001811, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002278/0.002278, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2196/0.2196, allocations: 46.94 MB / 361.6 MB, free: 4.176 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.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",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.002312/0.002312, allocations: 83.84 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3158, allocations: 66.08 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003917/0.3197, allocations: 1.737 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3217, allocations: 1.057 MB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.3218, allocations: 3.938 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.3222, allocations: 47.77 kB / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.3225, allocations: 99.59 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3228, allocations: 79.67 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.323, allocations: 107.7 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3231, allocations: 9.906 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3232, allocations: 51.78 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.3233, allocations: 23.86 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3233, allocations: 7.984 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3235, allocations: 39.98 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.3235, allocations: 23.92 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.3236, allocations: 43.67 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.3239, allocations: 135.4 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3239, allocations: 4 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3239, allocations: 0 / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3239, allocations: 0 / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006685/0.3245, allocations: 361.4 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3246, allocations: 8.031 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.3246, allocations: 38.73 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3247, allocations: 8.891 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.325, allocations: 155.1 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.325, allocations: 12.31 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.325, allocations: 4.312 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3252, allocations: 57.8 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3252, allocations: 3.984 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3252, allocations: 4 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3252, allocations: 0 / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.3253, allocations: 19.98 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.3257, allocations: 271.9 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.3258, allocations: 58.62 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.3259, allocations: 20.84 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3259, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3261, allocations: 71.39 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3261, allocations: 4 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005372/0.3266, allocations: 181.2 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3267, allocations: 55.41 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3269, allocations: 235 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3269, allocations: 25.7 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3271, allocations: 120.1 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3271, allocations: 27.78 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3271, allocations: 17.72 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3273, allocations: 334.8 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.3274, allocations: 23.92 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.3274, allocations: 37.7 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3276, allocations: 61.77 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3276, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3278, allocations: 105.5 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3278, allocations: 8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3278, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3278, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.3279, allocations: 15.98 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3279, allocations: 0 / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.328, allocations: 8 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.328, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001205/0.3281, allocations: 146.1 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3281, allocations: 15.91 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3284, allocations: 111.1 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3284, allocations: 3.938 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3284, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3284, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.3289, allocations: 378.3 kB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3289, allocations: 0 / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.3289, allocations: 11.94 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3289, allocations: 4.031 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3289, allocations: 4 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3289, allocations: 3.938 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3289, allocations: 0 / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.3292, allocations: 208.3 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.3292, allocations: 11.91 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3292, allocations: 4.375 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.3293, allocations: 12.12 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3293, allocations: 11.98 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3293, allocations: 7.938 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3295, allocations: 175.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3295, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3298, allocations: 27.94 kB / 0.5683 GB, free: 13.07 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002132/0.3319, allocations: 1.083 MB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3321, allocations: 59.86 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3321, allocations: 0 / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.3322, allocations: 27.92 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3325, allocations: 35.09 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3345, allocations: 1.755 MB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3348, allocations: 0.708 MB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.3349, allocations: 17.27 kB / 0.5719 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.335, allocations: 39.42 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.335, allocations: 0 / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3625, allocations: 3.702 MB / 0.5755 GB, free: 5.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.631, allocations: 0 / 0.5755 GB, free: 5.676 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.452268214896321] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.77100863493979 8.786274806 8.459183632 Calling exit ...