Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001376/0.001376, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001511/0.001511, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2369/0.2369, allocations: 46.96 MB / 361.7 MB, free: 4.043 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.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.89 kB / 0.4969 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 66.03 MB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003387/0.3559, allocations: 1.716 MB / 0.5631 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3586, allocations: 1.653 MB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.3586, allocations: 3.938 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3589, allocations: 43.77 kB / 0.5648 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.3593, allocations: 99.53 kB / 0.5649 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3595, allocations: 79.67 kB / 0.5649 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3597, allocations: 107.7 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3598, allocations: 17.81 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.3598, allocations: 47.72 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.36, allocations: 43.83 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.36, allocations: 4 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3602, allocations: 99.95 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.3603, allocations: 31.84 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.3603, allocations: 27.8 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3606, allocations: 167.4 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3606, allocations: 0 / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3606, allocations: 0 / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3606, allocations: 0 / 0.5655 GB, free: 72 kB / 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.0006629/0.3613, allocations: 345.7 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3613, allocations: 12.03 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.221e-05/0.3613, allocations: 4.125 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.3614, allocations: 34.75 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3614, allocations: 16.84 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.3617, allocations: 158.5 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3617, allocations: 4 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3618, allocations: 0 / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3619, allocations: 93.09 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3619, allocations: 3.938 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.362, allocations: 0 / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.362, allocations: 4 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.362, allocations: 27.92 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3624, allocations: 252 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3626, allocations: 54.69 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.3626, allocations: 24.78 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3626, allocations: 4 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.3628, allocations: 71.33 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3628, allocations: 0 / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005839/0.3634, allocations: 189.2 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.3635, allocations: 77.11 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3637, allocations: 168.1 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3637, allocations: 37.7 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3638, allocations: 100.1 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3638, allocations: 27.75 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.3639, allocations: 25.7 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.364, allocations: 318.8 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.3641, allocations: 19.98 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.3642, allocations: 68.27 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3643, allocations: 65.64 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3643, allocations: 0 / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.3645, allocations: 109.6 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3645, allocations: 4 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3645, allocations: 160 / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3646, allocations: 7.938 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3647, allocations: 15.98 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3647, allocations: 3.984 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.3647, allocations: 4 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3647, allocations: 4 kB / 0.5677 GB, free: 13.52 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.0001247/0.3648, allocations: 117.8 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3649, allocations: 11.97 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3651, allocations: 122.3 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3652, allocations: 7.938 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3652, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3652, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.3657, allocations: 378.5 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3657, allocations: 0 / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3657, allocations: 11.94 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.3657, allocations: 15.91 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3657, allocations: 0 / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3657, allocations: 4.031 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3658, allocations: 4 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.366, allocations: 216.6 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.3661, allocations: 11.94 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3661, allocations: 4 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.3662, allocations: 4 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3662, allocations: 11.98 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.3662, allocations: 4 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3664, allocations: 130.9 kB / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3664, allocations: 0 / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.3667, allocations: 59.81 kB / 0.5688 GB, free: 12.34 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 (9): * Single equations (assignments): 7 * 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.002628/0.3693, allocations: 1.234 MB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3695, allocations: 55.92 kB / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3695, allocations: 0 / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.3696, allocations: 35.98 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3699, allocations: 30.62 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3719, allocations: 1.601 MB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.372, allocations: 85.33 kB / 0.5717 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.3721, allocations: 29.33 kB / 0.5718 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.3722, allocations: 39.41 kB / 0.5718 GB, free: 9.355 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3722, allocations: 0 / 0.5718 GB, free: 9.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.3985, allocations: 4.397 MB / 0.5761 GB, free: 5.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.94, allocations: 10.06 kB / 0.5761 GB, free: 5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.017384659964591] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.16651264601387 12.184102446 11.820291918 Calling exit ...