Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001531/0.001531, 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.429/1.429, 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.2183/0.2183, allocations: 44.92 MB / 359.6 MB, free: 6.316 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001994/0.001994, allocations: 67.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 65.47 MB / 0.5579 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003148/0.3201, allocations: 1.746 MB / 0.5596 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.322, allocations: 1.042 MB / 0.5606 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.322, allocations: 7.938 kB / 0.5606 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.3223, allocations: 59.73 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.3226, allocations: 99.59 kB / 0.5607 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.3228, allocations: 83.66 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.323, allocations: 103.7 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.3231, allocations: 9.812 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3232, allocations: 47.72 kB / 0.561 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.3233, allocations: 39.84 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.3234, allocations: 4 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.3235, allocations: 39.98 kB / 0.5611 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.3235, allocations: 27.84 kB / 0.5611 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3236, allocations: 43.69 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3238, allocations: 139.4 kB / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3238, allocations: 0 / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3238, allocations: 0 / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3238, allocations: 3.938 kB / 0.5613 GB, free: 4.297 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.0005692/0.3244, allocations: 381.3 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3244, allocations: 8.031 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.477e-05/0.3244, allocations: 192 / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.3245, allocations: 38.75 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3245, allocations: 12.84 kB / 0.5617 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3248, allocations: 159.2 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3248, allocations: 12.11 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3249, allocations: 4 kB / 0.5618 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.325, allocations: 61.61 kB / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.325, allocations: 0 / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.325, allocations: 0 / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.325, allocations: 4 kB / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.3251, allocations: 15.98 kB / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.3255, allocations: 271.9 kB / 0.5622 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3257, allocations: 62.61 kB / 0.5622 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.3257, allocations: 24.78 kB / 0.5623 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3257, allocations: 4 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.3259, allocations: 59.39 kB / 0.5623 GB, free: 3.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3259, allocations: 0 / 0.5623 GB, free: 3.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005264/0.3264, allocations: 185.3 kB / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3265, allocations: 63.34 kB / 0.5626 GB, free: 2.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3268, allocations: 275.7 kB / 0.5628 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3268, allocations: 29.7 kB / 0.5629 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.3269, allocations: 112.1 kB / 0.563 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3269, allocations: 27.78 kB / 0.563 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3269, allocations: 21.72 kB / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3271, allocations: 322.8 kB / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.3271, allocations: 24.36 kB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.3272, allocations: 45.64 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3273, allocations: 61.77 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3273, allocations: 4 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.3275, allocations: 109.5 kB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3276, allocations: 4 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3276, allocations: 0 / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3276, allocations: 12.02 kB / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3277, allocations: 15.98 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3277, allocations: 3.938 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.3277, allocations: 8 kB / 0.5636 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3277, allocations: 4 kB / 0.5636 GB, free: 1.688 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 (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.0001227/0.3279, allocations: 133.8 kB / 0.5637 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3279, allocations: 15.91 kB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.3282, allocations: 115.1 kB / 0.5639 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3282, allocations: 4 kB / 0.5639 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3282, allocations: 7.938 kB / 0.5639 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3282, allocations: 3.984 kB / 0.5639 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.3286, allocations: 366.4 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3286, allocations: 0 / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.3287, allocations: 15.98 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3287, allocations: 3.938 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3287, allocations: 7.938 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3287, allocations: 0 / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3287, allocations: 4.219 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.329, allocations: 204.3 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.329, allocations: 23.72 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.329, allocations: 3.984 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3291, allocations: 4 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3291, allocations: 3.984 kB / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3291, allocations: 12 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.3293, allocations: 200.6 kB / 0.5647 GB, free: 496 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 0.5647 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3296, allocations: 27.92 kB / 0.5647 GB, free: 468 kB / 398.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.002267/0.3319, allocations: 1.105 MB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3321, allocations: 59.91 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3321, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.3322, allocations: 31.98 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3325, allocations: 29.23 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3349, allocations: 1.828 MB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3353, allocations: 0.7197 MB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.3354, allocations: 13.28 kB / 0.5684 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.3355, allocations: 47.41 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3355, allocations: 4 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.3604, allocations: 4.004 MB / 0.5724 GB, free: 8.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.74, allocations: 11.81 kB / 0.5724 GB, free: 8.738 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.67049671598943] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.954122955037747 11.970474065 11.643371565 Calling exit ...