Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 107.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 212.5 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2417/0.2417, allocations: 46.97 MB / 361.7 MB, free: 4.027 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.91 kB / 0.4969 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3128, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003542/0.3164, allocations: 1.79 MB / 0.5632 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3183, allocations: 1.038 MB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3184, allocations: 7.875 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.319, allocations: 311.3 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.3195, allocations: 255.2 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.3198, allocations: 103.7 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.3201, allocations: 271.2 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.178e-05/0.3202, allocations: 9.812 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3203, allocations: 135.5 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.3206, allocations: 215.5 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3206, allocations: 12 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3207, allocations: 51.97 kB / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3209, allocations: 143.6 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.321, allocations: 107 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.3215, allocations: 388 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3215, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3215, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3215, allocations: 0 / 0.5661 GB, free: 15.39 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.001001/0.3225, allocations: 0.6863 MB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3225, allocations: 8.031 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.3226, allocations: 8.125 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3226, allocations: 38.73 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.3227, allocations: 48.61 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.3234, allocations: 394.5 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3234, allocations: 4.125 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3234, allocations: 4 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.3237, allocations: 91.3 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3237, allocations: 4 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3237, allocations: 0 / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3237, allocations: 4 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3238, allocations: 35.97 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.3242, allocations: 337.4 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.3245, allocations: 113.1 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3246, allocations: 41.69 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3247, allocations: 4 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.3249, allocations: 109 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3249, allocations: 0 / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005258/0.3254, allocations: 209.2 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3255, allocations: 81.05 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.3267, allocations: 1.062 MB / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3267, allocations: 29.7 kB / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.327, allocations: 240.1 kB / 0.5695 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.327, allocations: 31.8 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.3271, allocations: 21.72 kB / 0.5696 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3272, allocations: 374.8 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.3273, allocations: 35.98 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3275, allocations: 63.34 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3277, allocations: 95.86 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3277, allocations: 0 / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003212/0.328, allocations: 181.2 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.328, allocations: 4 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.328, allocations: 8.062 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.328, allocations: 0 / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3281, allocations: 23.98 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3281, allocations: 3.938 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/0.3282, allocations: 15.86 kB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3283, allocations: 8 kB / 0.5703 GB, free: 10.77 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.0002615/0.3285, allocations: 217.7 kB / 0.5706 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.3286, allocations: 59.61 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.329, allocations: 205.8 kB / 0.5708 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.329, allocations: 4 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.329, allocations: 0 / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.329, allocations: 0 / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.3294, allocations: 296.5 kB / 0.5711 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3294, allocations: 0 / 0.5711 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.3294, allocations: 20.23 kB / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3294, allocations: 0 / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3294, allocations: 4 kB / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3294, allocations: 4 kB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3294, allocations: 3.938 kB / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3298, allocations: 221.5 kB / 0.5713 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3299, allocations: 75.53 kB / 0.5714 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.33, allocations: 4 kB / 0.5714 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3301, allocations: 4 kB / 0.5714 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3301, allocations: 11.98 kB / 0.5714 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3301, allocations: 7.984 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008981/0.331, allocations: 0.7878 MB / 0.5722 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.331, allocations: 0 / 0.5722 GB, free: 8.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.3314, allocations: 44 kB / 0.5722 GB, free: 8.742 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.002184/0.3335, allocations: 1.106 MB / 0.5733 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3338, allocations: 83.89 kB / 0.5734 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3338, allocations: 0 / 0.5734 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3339, allocations: 47.91 kB / 0.5735 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.3344, allocations: 62.41 kB / 0.5735 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/0.3404, allocations: 4.598 MB / 0.578 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3407, allocations: 245.7 kB / 0.5782 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.3408, allocations: 54.94 kB / 0.5783 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3411, allocations: 155.4 kB / 0.5784 GB, free: 2.426 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3411, allocations: 4 kB / 0.5784 GB, free: 2.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.3747, allocations: 9.655 MB / 0.5879 GB, free: 8.895 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.39, allocations: 6.75 kB / 0.5879 GB, free: 8.891 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.55491675902158] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.60864020709414 12.626742492 12.302077764 Calling exit ...