Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001343/0.001343, allocations: 105.1 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.001438/0.001438, allocations: 212.6 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2544/0.2544, allocations: 46.97 MB / 361.7 MB, free: 4.047 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.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.91 kB / 0.4969 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003111/0.326, allocations: 1.717 MB / 0.5631 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3277, allocations: 0.9676 MB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.3278, allocations: 3.938 kB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.328, allocations: 43.83 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.3283, allocations: 99.53 kB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.3285, allocations: 83.66 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3287, allocations: 107.7 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.3288, allocations: 5.828 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.3289, allocations: 47.78 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.3289, allocations: 39.72 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.329, allocations: 8 kB / 0.5645 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.3291, allocations: 43.97 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.3291, allocations: 23.92 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.3292, allocations: 27.75 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3294, allocations: 127.5 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3294, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3294, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3294, allocations: 0 / 0.5647 GB, free: 0.875 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.0005394/0.33, allocations: 373.3 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.33, allocations: 8.031 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.33, allocations: 8.188 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.33, allocations: 30.75 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.3301, allocations: 16.88 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.3303, allocations: 155.1 kB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3304, allocations: 4.125 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3304, allocations: 4 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3305, allocations: 53.67 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3305, allocations: 0 / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3305, allocations: 0 / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3305, allocations: 0 / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.3306, allocations: 27.92 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.331, allocations: 267.9 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3312, allocations: 50.69 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.3313, allocations: 20.84 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3313, allocations: 4 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.3314, allocations: 71.31 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3315, allocations: 0 / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005698/0.332, allocations: 197.2 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3321, allocations: 63.41 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3323, allocations: 246.9 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3323, allocations: 25.7 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.3324, allocations: 116.1 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.3325, allocations: 19.86 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.3325, allocations: 21.7 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3327, allocations: 322.8 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.3327, allocations: 23.98 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.3328, allocations: 41.64 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3329, allocations: 69.64 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3329, allocations: 0 / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.3331, allocations: 109.5 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3332, allocations: 7.984 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3332, allocations: 0 / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3332, allocations: 4 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.3333, allocations: 15.98 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3333, allocations: 3.938 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.3333, allocations: 7.938 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3333, allocations: 3.984 kB / 0.567 GB, free: 14.32 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.0001177/0.3335, allocations: 133.9 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3335, allocations: 11.91 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3338, allocations: 127 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3338, allocations: 0 / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3338, allocations: 3.938 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3338, allocations: 0 / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.3343, allocations: 378.6 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3343, allocations: 0 / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.3343, allocations: 15.92 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3343, allocations: 11.97 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3343, allocations: 4.281 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3343, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3343, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3346, allocations: 216.2 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.3346, allocations: 23.83 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3347, allocations: 4 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.3347, allocations: 384 / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.3348, allocations: 7.984 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3348, allocations: 4 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.3349, allocations: 183.2 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3349, allocations: 0 / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3352, allocations: 24 kB / 0.5681 GB, free: 13.1 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 (9): * Single equations (assignments): 7 * 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.002307/0.3375, allocations: 1.143 MB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.3377, allocations: 59.91 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3377, allocations: 4 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.3378, allocations: 31.86 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3382, allocations: 27.73 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3403, allocations: 1.762 MB / 0.571 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3404, allocations: 108.8 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.137e-05/0.3404, allocations: 13.28 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.3405, allocations: 39.42 kB / 0.5712 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3405, allocations: 0 / 0.5712 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3636, allocations: 3.98 MB / 0.5751 GB, free: 6.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.79, allocations: 11.12 kB / 0.5751 GB, free: 6.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.901725614094175] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.019096378004178 12.036808393 11.704137273 Calling exit ...