Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001295/0.001295, 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.001395/0.001395, allocations: 205.2 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2321/0.2321, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001905/0.001905, allocations: 63.89 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3574, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003622/0.361, allocations: 1.782 MB / 0.5596 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3629, allocations: 1.049 MB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.363, allocations: 7.875 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3634, allocations: 111.6 kB / 0.5607 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.3638, allocations: 127.5 kB / 0.5609 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.364, allocations: 75.73 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.3642, allocations: 147.6 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3644, allocations: 15.41 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3645, allocations: 63.75 kB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3646, allocations: 79.73 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3646, allocations: 8 kB / 0.5612 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3648, allocations: 67.89 kB / 0.5613 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.3648, allocations: 35.86 kB / 0.5613 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.3649, allocations: 51.67 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3652, allocations: 163.3 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3652, allocations: 0 / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3652, allocations: 4 kB / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3652, allocations: 0 / 0.5616 GB, free: 3.969 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006212/0.3658, allocations: 393.2 kB / 0.5619 GB, free: 3.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3658, allocations: 11.97 kB / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.3658, allocations: 192 / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.3659, allocations: 38.73 kB / 0.562 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.3659, allocations: 20.84 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3662, allocations: 171.2 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3663, allocations: 8.125 kB / 0.5622 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3663, allocations: 4 kB / 0.5622 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3665, allocations: 77.64 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3665, allocations: 3.953 kB / 0.5622 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3665, allocations: 4 kB / 0.5623 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3665, allocations: 3.938 kB / 0.5623 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.3666, allocations: 39.91 kB / 0.5623 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3671, allocations: 291.9 kB / 0.5626 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3673, allocations: 78.47 kB / 0.5626 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.3674, allocations: 25.02 kB / 0.5627 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3674, allocations: 3.984 kB / 0.5627 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.3676, allocations: 75.38 kB / 0.5627 GB, free: 2.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3676, allocations: 4 kB / 0.5627 GB, free: 2.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001051/0.3687, allocations: 309 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3687, allocations: 55.41 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.3691, allocations: 259.7 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3691, allocations: 25.7 kB / 0.5634 GB, free: 1.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.3692, allocations: 120.1 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.3692, allocations: 47.58 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.3693, allocations: 33.7 kB / 0.5636 GB, free: 1.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3695, allocations: 330.8 kB / 0.5639 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3696, allocations: 39.98 kB / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3697, allocations: 57.69 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3699, allocations: 97.64 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3699, allocations: 0 / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003134/0.3703, allocations: 165.5 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3703, allocations: 4 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3703, allocations: 7.938 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3703, allocations: 0 / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3704, allocations: 23.98 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3704, allocations: 4 kB / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.3705, allocations: 4 kB / 0.5643 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3705, allocations: 4 kB / 0.5643 GB, free: 0.9727 MB / 398.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 (16): * Single equations (assignments): 16 * 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.0001679/0.3706, allocations: 141.8 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.3707, allocations: 23.97 kB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.3711, allocations: 194.7 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3711, allocations: 0 / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3711, allocations: 4 kB / 0.5646 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3711, allocations: 0.8438 kB / 0.5646 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.3718, allocations: 487 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3718, allocations: 4.062 kB / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3719, allocations: 19.98 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3719, allocations: 4 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3719, allocations: 0 / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3719, allocations: 4 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3719, allocations: 0 / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3723, allocations: 265 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.3723, allocations: 23.83 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3723, allocations: 4 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.3724, allocations: 4 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3725, allocations: 7.984 kB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.3725, allocations: 15.92 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3727, allocations: 189.5 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.373, allocations: 39.83 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002547/0.3755, allocations: 1.205 MB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3757, allocations: 99.84 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3757, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3759, allocations: 51.91 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3763, allocations: 34.98 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3787, allocations: 2.014 MB / 0.569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3792, allocations: 0.724 MB / 0.5697 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.3792, allocations: 25.42 kB / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.3793, allocations: 51.42 kB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3793, allocations: 0 / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.4055, allocations: 4.585 MB / 0.5742 GB, free: 6.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 8 kB / 0.5742 GB, free: 6.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.914439913001843] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 12.055898067017552 12.080019617 11.711590037 Calling exit ...