Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001332/0.001332, 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.001614/0.001614, allocations: 212.9 kB / 24.52 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.453/1.453, 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.225/0.225, allocations: 46.96 MB / 361.7 MB, free: 4.121 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.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 59.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3161, allocations: 66.04 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002992/0.3191, allocations: 1.666 MB / 0.563 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3208, allocations: 0.952 MB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.3208, allocations: 0 / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3211, allocations: 55.75 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.3214, allocations: 99.53 kB / 0.5641 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3216, allocations: 71.73 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3218, allocations: 103.6 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3219, allocations: 8.234 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.322, allocations: 43.78 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.738e-05/0.322, allocations: 35.8 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3221, allocations: 0 / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.3222, allocations: 31.98 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.3222, allocations: 27.91 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.3223, allocations: 35.73 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3225, allocations: 129.3 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3225, allocations: 0 / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3225, allocations: 0 / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3225, allocations: 0 / 0.5646 GB, free: 0.9492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005636/0.3231, allocations: 365.4 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3231, allocations: 12.03 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.3231, allocations: 192 / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.3232, allocations: 38.73 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.3232, allocations: 12.89 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3235, allocations: 159.2 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3235, allocations: 12.12 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3235, allocations: 0 / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3236, allocations: 57.59 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3237, allocations: 0 / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3237, allocations: 0 / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3237, allocations: 0 / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.3237, allocations: 15.98 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.324, allocations: 164.7 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3242, allocations: 54.55 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3242, allocations: 20.86 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3242, allocations: 7.938 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3244, allocations: 63.39 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3244, allocations: 0 / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002963/0.3247, allocations: 105.6 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3247, allocations: 55.41 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.325, allocations: 274.8 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.325, allocations: 33.62 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3251, allocations: 120.1 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.3251, allocations: 15.84 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3252, allocations: 21.72 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3253, allocations: 326.8 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.3253, allocations: 15.98 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.3254, allocations: 33.69 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3255, allocations: 49.64 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3255, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.3257, allocations: 89.53 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3257, allocations: 8.031 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3257, allocations: 320 / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3257, allocations: 4 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.3258, allocations: 11.98 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3258, allocations: 4 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.3258, allocations: 7.953 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3258, allocations: 0 / 0.5666 GB, free: 14.62 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 (7): * Single equations (assignments): 7 * 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.0001207/0.326, allocations: 141.7 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.326, allocations: 15.91 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3262, allocations: 98.75 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3262, allocations: 4 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3262, allocations: 4 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3262, allocations: 0 / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3264, allocations: 168.6 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3264, allocations: 0 / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.3264, allocations: 7.984 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3264, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3264, allocations: 7.938 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3264, allocations: 3.938 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3265, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3267, allocations: 125 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.3267, allocations: 15.91 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.3267, allocations: 4 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.3267, allocations: 3.984 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3268, allocations: 8 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3268, allocations: 3.984 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.327, allocations: 204.6 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.327, allocations: 0 / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3272, allocations: 23.94 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00198/0.3292, allocations: 0.9887 MB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3293, allocations: 43.97 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3293, allocations: 0 / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.3294, allocations: 23.92 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3297, allocations: 29.11 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.3316, allocations: 1.698 MB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.3317, allocations: 105.8 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.3317, allocations: 16.48 kB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.3318, allocations: 43.42 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3318, allocations: 0 / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3537, allocations: 3.846 MB / 0.5741 GB, free: 7.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.9, allocations: 0 / 0.5741 GB, free: 7.062 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.84389485209249] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.124977643950842 12.145802201 11.819117466 Calling exit ...