Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001311/0.001311, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002055/0.002055, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 44.91 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4036, allocations: 65.47 MB / 0.5579 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004323/0.4079, allocations: 2.297 MB / 0.5601 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.4107, allocations: 1.342 MB / 0.5614 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.4109, allocations: 11.88 kB / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.4114, allocations: 143.3 kB / 0.5616 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006649/0.4121, allocations: 254.9 kB / 0.5618 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.4126, allocations: 199.5 kB / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.4133, allocations: 466.6 kB / 0.5625 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.4134, allocations: 51.06 kB / 0.5625 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.4139, allocations: 350.9 kB / 0.5628 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.4142, allocations: 175.1 kB / 0.563 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.4142, allocations: 16 kB / 0.563 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.4144, allocations: 71.97 kB / 0.5631 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.4147, allocations: 163.2 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.4149, allocations: 202.3 kB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.4156, allocations: 485.4 kB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4156, allocations: 0 / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4156, allocations: 0 / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.4156, allocations: 0 / 0.5639 GB, free: 1.578 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001412/0.417, allocations: 0.8496 MB / 0.5647 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.417, allocations: 8.031 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.363e-05/0.4171, allocations: 4.188 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.4171, allocations: 46.73 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4172, allocations: 76.47 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.418, allocations: 381.6 kB / 0.5652 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.418, allocations: 12.12 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.418, allocations: 27.94 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.4185, allocations: 197.4 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.4185, allocations: 0 / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.4185, allocations: 7.984 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4185, allocations: 4 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.4188, allocations: 91.88 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.4198, allocations: 0.793 MB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.4205, allocations: 238.5 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4207, allocations: 87.45 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.4208, allocations: 8 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.4212, allocations: 200.2 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.4212, allocations: 4 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002645/0.4238, allocations: 1.191 MB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.4239, allocations: 148.3 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.4251, allocations: 0.9614 MB / 0.5691 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.4252, allocations: 37.7 kB / 0.5691 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.4254, allocations: 269 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.4256, allocations: 146.8 kB / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.4257, allocations: 86.08 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4259, allocations: 318 kB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.4261, allocations: 112.8 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.4264, allocations: 187.2 kB / 0.5702 GB, free: 10.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.427, allocations: 319 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.427, allocations: 0 / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007969/0.4278, allocations: 448.8 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4278, allocations: 4 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4278, allocations: 4 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4278, allocations: 8.125 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.4281, allocations: 87.89 kB / 0.571 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4281, allocations: 15.81 kB / 0.571 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.4283, allocations: 15.98 kB / 0.571 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.4283, allocations: 16 kB / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000296/0.4286, allocations: 256.1 kB / 0.5713 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.4287, allocations: 75.48 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000979/0.4297, allocations: 0.5116 MB / 0.5719 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4297, allocations: 4 kB / 0.5719 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4297, allocations: 3.938 kB / 0.5719 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4297, allocations: 7.984 kB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4315, allocations: 1.294 MB / 0.5732 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4315, allocations: 4 kB / 0.5732 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.4316, allocations: 67.84 kB / 0.5732 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4316, allocations: 4.25 kB / 0.5732 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.4317, allocations: 16 kB / 0.5732 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.4317, allocations: 8 kB / 0.5732 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4317, allocations: 11.92 kB / 0.5733 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.4327, allocations: 0.8009 MB / 0.574 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.4329, allocations: 111.4 kB / 0.5741 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.4329, allocations: 23.98 kB / 0.5742 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.4332, allocations: 15.98 kB / 0.5742 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4333, allocations: 43.81 kB / 0.5742 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.4334, allocations: 24 kB / 0.5742 GB, free: 6.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008602/0.4342, allocations: 0.7059 MB / 0.5749 GB, free: 5.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4342, allocations: 0 / 0.5749 GB, free: 5.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000578/0.4348, allocations: 91.94 kB / 0.575 GB, free: 5.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003491/0.4383, allocations: 1.769 MB / 0.5768 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.439, allocations: 303.9 kB / 0.577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.439, allocations: 0 / 0.577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.4393, allocations: 140.5 kB / 0.5772 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.4403, allocations: 139.3 kB / 0.5773 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.4473, allocations: 5.126 MB / 0.5823 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.4479, allocations: 0.9133 MB / 0.5832 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.4481, allocations: 83.3 kB / 0.5833 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.4484, allocations: 211.3 kB / 0.5835 GB, free: 12.98 MB / 430.1 MB Notification: Performance of SimCode: time 2.124e-06/0.4484, allocations: 3.938 kB / 0.5835 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.4853, allocations: 11.94 MB / 0.5952 GB, free: 1.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.4, allocations: 3.984 kB / 0.5952 GB, free: 1.148 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.676185706979595] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 12.626779063954018 12.655564635 12.234648932 Calling exit ...