Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001694/0.001694, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002346/0.002346, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2486/0.2486, allocations: 46.93 MB / 361.7 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.91 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 66.03 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003459/0.3719, allocations: 1.745 MB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3738, allocations: 1.045 MB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.3739, allocations: 3.938 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.3743, allocations: 43.77 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3746, allocations: 99.53 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.3749, allocations: 79.67 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3751, allocations: 103.8 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.3752, allocations: 13.89 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3753, allocations: 47.73 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.3754, allocations: 31.84 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3754, allocations: 7.984 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.3755, allocations: 39.98 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.3755, allocations: 23.92 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.3756, allocations: 35.75 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3758, allocations: 119.4 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3758, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3758, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3758, allocations: 3.938 kB / 0.5648 GB, free: 1.004 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.0005757/0.3764, allocations: 349.6 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3764, allocations: 8.031 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.727e-05/0.3764, allocations: 8.188 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.3765, allocations: 34.75 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3765, allocations: 12.89 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3768, allocations: 154.9 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3768, allocations: 8.125 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3769, allocations: 7.938 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.377, allocations: 49.67 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.377, allocations: 0 / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.377, allocations: 4 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3771, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.3771, allocations: 19.98 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3776, allocations: 256 kB / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3777, allocations: 54.61 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.3778, allocations: 20.84 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3778, allocations: 11.98 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.378, allocations: 63.39 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.378, allocations: 0 / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005851/0.3786, allocations: 181.3 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3787, allocations: 63.34 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3789, allocations: 194.2 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3789, allocations: 29.7 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.379, allocations: 108.1 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.379, allocations: 27.78 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.379, allocations: 17.72 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3792, allocations: 326.8 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.123e-05/0.3793, allocations: 23.92 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.3793, allocations: 33.7 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3794, allocations: 61.72 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3794, allocations: 3.984 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.3796, allocations: 101.5 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3797, allocations: 8 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3797, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3797, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.3798, allocations: 20.36 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3798, allocations: 7.938 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.3798, allocations: 4.031 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3798, allocations: 8 kB / 0.567 GB, free: 14.56 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.0001159/0.38, allocations: 129.8 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.38, allocations: 15.91 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3802, allocations: 107.1 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3802, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3802, allocations: 3.938 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3802, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3807, allocations: 370.6 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3807, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.3807, allocations: 11.94 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3808, allocations: 7.922 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3808, allocations: 8 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3808, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3808, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.381, allocations: 200.3 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.381, allocations: 19.83 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3811, allocations: 4 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.3811, allocations: 4.172 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3812, allocations: 4 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3812, allocations: 15.92 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3813, allocations: 140.2 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3813, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3816, allocations: 31.92 kB / 0.568 GB, free: 13.41 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.00217/0.3837, allocations: 1.098 MB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.384, allocations: 55.91 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.384, allocations: 0 / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.384, allocations: 27.92 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3844, allocations: 25.11 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3864, allocations: 1.662 MB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3868, allocations: 0.7119 MB / 0.5715 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.3868, allocations: 20.97 kB / 0.5716 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.3869, allocations: 35.42 kB / 0.5716 GB, free: 9.82 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3869, allocations: 0 / 0.5716 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.41, allocations: 3.667 MB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.47, allocations: 4.812 kB / 0.5752 GB, free: 6.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.619453882041853] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.683947718003765 11.700862162 11.321810666 Calling exit ...