Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2505/0.2505, allocations: 46.93 MB / 361.6 MB, free: 4.207 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 83.8 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.358, allocations: 66.07 MB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003231/0.3612, allocations: 1.751 MB / 0.5633 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3631, allocations: 1.049 MB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.3631, allocations: 7.938 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.3635, allocations: 55.69 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.3638, allocations: 103.6 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.3641, allocations: 79.67 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3643, allocations: 99.73 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3644, allocations: 13.91 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3645, allocations: 51.67 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.3646, allocations: 35.83 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3646, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3647, allocations: 39.98 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.3648, allocations: 31.86 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.3649, allocations: 47.67 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.3651, allocations: 143.3 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3651, allocations: 0 / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.3651, allocations: 7.984 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3651, allocations: 0 / 0.565 GB, free: 0.7812 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.0006528/0.3658, allocations: 369.3 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3658, allocations: 12.03 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.3659, allocations: 34.75 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.3659, allocations: 20.84 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3662, allocations: 170 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3663, allocations: 4.375 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3663, allocations: 4.375 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3664, allocations: 61.73 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3664, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3665, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3665, allocations: 4 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.3665, allocations: 19.98 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.367, allocations: 272 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3672, allocations: 54.62 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.3672, allocations: 20.84 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3672, allocations: 3.938 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.3674, allocations: 71.39 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.3674, allocations: 3.984 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005786/0.368, allocations: 189.2 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.368, allocations: 51.41 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3683, allocations: 284.2 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3684, allocations: 25.7 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.3684, allocations: 120.1 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3685, allocations: 35.77 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3685, allocations: 21.72 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3687, allocations: 330.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.3687, allocations: 23.92 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.3688, allocations: 41.64 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.3689, allocations: 61.7 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3689, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.3691, allocations: 109.5 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3691, allocations: 6.344 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3691, allocations: 4 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3692, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.3692, allocations: 15.98 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3693, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.3693, allocations: 4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3693, allocations: 4 kB / 0.5673 GB, free: 14.17 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.000126/0.3694, allocations: 146.6 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3695, allocations: 15.91 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3697, allocations: 119 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3697, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3697, allocations: 3.984 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3697, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.3702, allocations: 382.3 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3702, allocations: 384 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.3703, allocations: 8 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3703, allocations: 7.938 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3703, allocations: 0 / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3703, allocations: 7.938 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3703, allocations: 4.25 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3705, allocations: 212.3 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.3706, allocations: 23.84 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3706, allocations: 4 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.3707, allocations: 3.938 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.3707, allocations: 7.984 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3707, allocations: 4 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3709, allocations: 211.2 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3709, allocations: 0 / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3712, allocations: 27.94 kB / 0.5685 GB, free: 12.91 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.002164/0.3733, allocations: 1.08 MB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3735, allocations: 63.84 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3735, allocations: 0 / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.3736, allocations: 31.86 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.374, allocations: 27.92 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3762, allocations: 1.871 MB / 0.5715 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3766, allocations: 0.7197 MB / 0.5722 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.3767, allocations: 25.2 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.3768, allocations: 43.42 kB / 0.5722 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3768, allocations: 0 / 0.5722 GB, free: 9.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2936/0.6703, allocations: 3.933 MB / 0.5761 GB, free: 5.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/9.208, allocations: 4 kB / 0.5761 GB, free: 5.145 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.470240236725658] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.43334994604811 9.383273651 9.012131131 Calling exit ...