Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.00128/0.00128, 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.00144/0.00144, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2308/0.2308, allocations: 46.94 MB / 361.7 MB, free: 4.238 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.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 66.03 MB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00325/0.3576, allocations: 1.741 MB / 0.5632 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3595, allocations: 1.045 MB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3596, allocations: 7.938 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.36, allocations: 47.75 kB / 0.5643 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.3604, allocations: 99.53 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3606, allocations: 79.67 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.3608, allocations: 103.7 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3609, allocations: 13.95 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3611, allocations: 51.67 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.3611, allocations: 31.84 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3612, allocations: 4 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3613, allocations: 39.98 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.3613, allocations: 23.91 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3614, allocations: 35.73 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3616, allocations: 131.4 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3616, allocations: 0 / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.3616, allocations: 4 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3616, allocations: 0 / 0.5648 GB, free: 0.9375 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.0005632/0.3622, allocations: 356.4 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3622, allocations: 8.031 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.3623, allocations: 192 / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.3623, allocations: 34.75 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3623, allocations: 16.88 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.3626, allocations: 162.2 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3627, allocations: 4.125 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3627, allocations: 15.94 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3628, allocations: 49.67 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3628, allocations: 0 / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3629, allocations: 4 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3629, allocations: 0 / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.3629, allocations: 19.98 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3634, allocations: 259.9 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3636, allocations: 62.61 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.3636, allocations: 16.86 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3636, allocations: 3.984 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3638, allocations: 63.39 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3638, allocations: 0 / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.3644, allocations: 181.3 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.3644, allocations: 63.39 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3647, allocations: 214.6 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3647, allocations: 25.7 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3648, allocations: 108.1 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.3648, allocations: 27.78 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3648, allocations: 21.7 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.365, allocations: 326.8 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.3651, allocations: 27.92 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.3651, allocations: 33.66 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3653, allocations: 61.7 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3653, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.3655, allocations: 105.5 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3655, allocations: 8 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3655, allocations: 4.031 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3655, allocations: 0 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.3656, allocations: 16.38 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3656, allocations: 3.938 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.3656, allocations: 3.984 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3657, allocations: 8 kB / 0.5671 GB, free: 14.46 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.0001299/0.3658, allocations: 132.5 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3658, allocations: 19.83 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.3661, allocations: 111.1 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3661, allocations: 4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3661, allocations: 7.922 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3661, allocations: 0 / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.3666, allocations: 366.6 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3666, allocations: 0 / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.3666, allocations: 11.94 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3666, allocations: 7.922 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3666, allocations: 12.02 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3666, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3666, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3669, allocations: 204.3 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.3669, allocations: 11.89 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.3669, allocations: 4 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.367, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.367, allocations: 15.98 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.367, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3672, allocations: 152.3 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3672, allocations: 0 / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3675, allocations: 35.86 kB / 0.5681 GB, free: 13.29 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.002191/0.3696, allocations: 1.086 MB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3698, allocations: 59.89 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3698, allocations: 4.062 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.3699, allocations: 27.92 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3703, allocations: 29.42 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3723, allocations: 1.686 MB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.3726, allocations: 0.7119 MB / 0.5716 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3727, allocations: 16.59 kB / 0.5716 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.3728, allocations: 39.42 kB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3728, allocations: 0 / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3963, allocations: 3.708 MB / 0.5753 GB, free: 6.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 8.047 kB / 0.5753 GB, free: 6.039 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.613865301012993] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.828429165005218 11.845395988 11.480587208 Calling exit ...