Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001392/0.001392, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001588/0.001588, allocations: 214 kB / 24.52 MB, free: 3.914 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2254/0.2254, allocations: 46.95 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.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 0.4969 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 66.04 MB / 0.5614 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003116/0.322, allocations: 1.694 MB / 0.5631 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.3244, allocations: 1.669 MB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.3245, allocations: 0 / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.3248, allocations: 35.77 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.3251, allocations: 103.5 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3253, allocations: 75.67 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3255, allocations: 111.7 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.3256, allocations: 13.83 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.3257, allocations: 43.8 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3258, allocations: 51.7 kB / 0.5651 GB, free: 376 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3258, allocations: 4 kB / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.326, allocations: 107.9 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.3261, allocations: 15.94 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.3261, allocations: 31.78 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.3264, allocations: 167.4 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3264, allocations: 0 / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3264, allocations: 0 / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3264, allocations: 3.938 kB / 0.5654 GB, free: 44 kB / 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.0005781/0.327, allocations: 357.6 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.327, allocations: 8.031 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.097e-05/0.327, allocations: 192 / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.3271, allocations: 42.73 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3271, allocations: 12.84 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3274, allocations: 153.2 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3274, allocations: 4 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3274, allocations: 0 / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3276, allocations: 97.08 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3276, allocations: 0 / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3276, allocations: 12 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.3276, allocations: 0 / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.3277, allocations: 19.98 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.3281, allocations: 255.9 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3283, allocations: 58.67 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.3283, allocations: 20.84 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3284, allocations: 4 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3285, allocations: 75.31 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3285, allocations: 7.938 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005789/0.3291, allocations: 181.3 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3292, allocations: 85.11 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3293, allocations: 166.1 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3294, allocations: 29.7 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.3294, allocations: 96.12 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.3295, allocations: 31.73 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3295, allocations: 25.72 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3297, allocations: 318.8 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.3297, allocations: 23.98 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3298, allocations: 72.27 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.33, allocations: 65.7 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.33, allocations: 0 / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.3302, allocations: 101.6 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3302, allocations: 7.984 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3302, allocations: 0 / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3302, allocations: 7.938 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.3303, allocations: 16.12 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3303, allocations: 4.062 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.3304, allocations: 11.94 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3304, allocations: 7.984 kB / 0.5677 GB, free: 13.48 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.0001004/0.3305, allocations: 116.5 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3305, allocations: 7.953 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3308, allocations: 118.3 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3308, allocations: 7.938 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3308, allocations: 0 / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3308, allocations: 0 / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.3313, allocations: 382.3 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3313, allocations: 0 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.3314, allocations: 12 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3314, allocations: 0 / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3314, allocations: 0 / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3314, allocations: 3.938 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3314, allocations: 4 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3317, allocations: 220.2 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.3317, allocations: 7.953 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.3317, allocations: 8.312 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.3318, allocations: 12.02 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3319, allocations: 8 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3319, allocations: 7.984 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.332, allocations: 127.2 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.332, allocations: 0 / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.3323, allocations: 55.81 kB / 0.5688 GB, free: 12.31 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.002611/0.3349, allocations: 1.234 MB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3351, allocations: 59.91 kB / 0.57 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3351, allocations: 0 / 0.57 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.3352, allocations: 31.92 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3356, allocations: 31.11 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3375, allocations: 1.601 MB / 0.5717 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.3376, allocations: 85.31 kB / 0.5717 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.937e-05/0.3377, allocations: 25.27 kB / 0.5718 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.3377, allocations: 35.42 kB / 0.5718 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3377, allocations: 0 / 0.5718 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.3742, allocations: 4.4 MB / 0.5761 GB, free: 4.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.01, allocations: 12.88 kB / 0.5761 GB, free: 4.977 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.90149378508795] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.237581770983525 12.264352548 11.933106338 Calling exit ...