Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.00173/0.00173, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002138/0.002138, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.566/1.566, 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.3012/0.3012, allocations: 44.92 MB / 359.6 MB, free: 6.27 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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001999/0.001999, allocations: 64.19 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4228, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003381/0.4261, allocations: 1.736 MB / 0.5596 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.4279, allocations: 1.053 MB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.428, allocations: 3.938 kB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.4282, allocations: 51.75 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.4284, allocations: 107.5 kB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4286, allocations: 75.73 kB / 0.5608 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.4288, allocations: 103.7 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.4289, allocations: 9.812 kB / 0.5609 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.429, allocations: 47.73 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.4291, allocations: 35.83 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.4291, allocations: 4 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.4292, allocations: 43.92 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.4292, allocations: 23.92 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.4293, allocations: 47.67 kB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.4295, allocations: 127.4 kB / 0.5612 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4295, allocations: 0 / 0.5612 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4295, allocations: 0 / 0.5612 GB, free: 4.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4296, allocations: 0 / 0.5612 GB, free: 4.281 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.0005872/0.4301, allocations: 365.4 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4302, allocations: 8.031 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.1e-05/0.4302, allocations: 8.188 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.4302, allocations: 38.69 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.4303, allocations: 8.891 kB / 0.5616 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.4306, allocations: 167.1 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4306, allocations: 8.062 kB / 0.5618 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.4306, allocations: 4 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.4308, allocations: 53.67 kB / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4308, allocations: 0 / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4308, allocations: 0 / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4308, allocations: 0 / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.4309, allocations: 27.92 kB / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.4313, allocations: 263.9 kB / 0.5621 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4314, allocations: 50.67 kB / 0.5622 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4315, allocations: 20.84 kB / 0.5622 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4315, allocations: 11.92 kB / 0.5622 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.4317, allocations: 71.33 kB / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4317, allocations: 0 / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005526/0.4322, allocations: 181.3 kB / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.4323, allocations: 59.39 kB / 0.5625 GB, free: 2.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4325, allocations: 238.9 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4326, allocations: 29.7 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.4326, allocations: 112.1 kB / 0.5629 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.4327, allocations: 23.8 kB / 0.5629 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.4327, allocations: 29.7 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4329, allocations: 322.8 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.4329, allocations: 20 kB / 0.5633 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.433, allocations: 37.69 kB / 0.5633 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4331, allocations: 61.64 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4331, allocations: 0 / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.4333, allocations: 105.6 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4333, allocations: 8 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4333, allocations: 384 / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4334, allocations: 0 / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.4334, allocations: 15.94 kB / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4335, allocations: 3.938 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.4335, allocations: 11.98 kB / 0.5635 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4335, allocations: 12.03 kB / 0.5635 GB, free: 1.738 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.0001094/0.4336, allocations: 125.8 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.4336, allocations: 11.91 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.4339, allocations: 119 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4339, allocations: 3.938 kB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4339, allocations: 3.938 kB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4339, allocations: 0 / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.4344, allocations: 374.4 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4344, allocations: 0 / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.4344, allocations: 11.98 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4344, allocations: 3.938 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4344, allocations: 4 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4344, allocations: 0 / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4344, allocations: 0 / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.4347, allocations: 220.7 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.4347, allocations: 15.84 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4347, allocations: 7.922 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.4348, allocations: 4 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.4348, allocations: 7.984 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.4348, allocations: 4 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.435, allocations: 167.2 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.435, allocations: 4 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.4353, allocations: 31.92 kB / 0.5646 GB, free: 0.5469 MB / 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.002172/0.4374, allocations: 1.092 MB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.4376, allocations: 51.97 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4376, allocations: 0 / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.4377, allocations: 31.91 kB / 0.5657 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.438, allocations: 30.73 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4401, allocations: 1.75 MB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4405, allocations: 0.7158 MB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.4406, allocations: 25.27 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.4407, allocations: 39.42 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4407, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.4643, allocations: 3.829 MB / 0.572 GB, free: 9.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.62, allocations: 10.45 kB / 0.572 GB, free: 9.102 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.907161301001906] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.835100849042647 11.857228945 11.423311835 Calling exit ...