Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001315/0.001315, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.001603/0.001603, allocations: 208.4 kB / 24.52 MB, free: 4.141 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2568/0.2568, allocations: 44.92 MB / 359.6 MB, free: 6.273 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.002327/0.002327, allocations: 70.08 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4241, allocations: 65.47 MB / 0.5579 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003687/0.4277, allocations: 1.766 MB / 0.5596 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.4299, allocations: 1.049 MB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.43, allocations: 0 / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.4304, allocations: 111.6 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.4307, allocations: 123.5 kB / 0.5608 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.431, allocations: 79.67 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4312, allocations: 131.7 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4313, allocations: 9.812 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.4314, allocations: 67.69 kB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4315, allocations: 75.73 kB / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.4316, allocations: 4 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.4317, allocations: 63.97 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.4317, allocations: 19.92 kB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.4318, allocations: 51.55 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.4321, allocations: 155.3 kB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4321, allocations: 4 kB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4321, allocations: 0 / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4321, allocations: 0 / 0.5615 GB, free: 4.051 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00058/0.4327, allocations: 373.3 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4327, allocations: 12.03 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.4327, allocations: 192 / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.4328, allocations: 38.73 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.4328, allocations: 20.78 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.4331, allocations: 162.4 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.4332, allocations: 12.06 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4332, allocations: 7.953 kB / 0.5621 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4334, allocations: 57.67 kB / 0.5621 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4334, allocations: 7.984 kB / 0.5621 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4334, allocations: 0 / 0.5621 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4334, allocations: 0 / 0.5621 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.4335, allocations: 31.97 kB / 0.5622 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.4339, allocations: 275.8 kB / 0.5624 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.4342, allocations: 62.48 kB / 0.5625 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.4342, allocations: 20.98 kB / 0.5625 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4343, allocations: 0 / 0.5625 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.4344, allocations: 71.38 kB / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4344, allocations: 0 / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008192/0.4353, allocations: 245.2 kB / 0.5628 GB, free: 2.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4353, allocations: 59.34 kB / 0.5629 GB, free: 2.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.4356, allocations: 250.7 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.4356, allocations: 33.7 kB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.4357, allocations: 108.1 kB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.4357, allocations: 39.69 kB / 0.5633 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.4358, allocations: 33.64 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.436, allocations: 322.8 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.4361, allocations: 31.98 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.4362, allocations: 45.7 kB / 0.5637 GB, free: 1.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4363, allocations: 85.69 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4363, allocations: 0 / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002283/0.4365, allocations: 121.6 kB / 0.5639 GB, free: 1.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4366, allocations: 8 kB / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4366, allocations: 0 / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4366, allocations: 3.938 kB / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.4367, allocations: 27.97 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4367, allocations: 3.938 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.4367, allocations: 11.92 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4367, allocations: 4 kB / 0.5639 GB, free: 1.301 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 (13): * Single equations (assignments): 13 * 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.0001916/0.4369, allocations: 136.5 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.437, allocations: 15.91 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.4373, allocations: 143.7 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4373, allocations: 15.91 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4373, allocations: 4 kB / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4373, allocations: 0 / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.4379, allocations: 427.1 kB / 0.5647 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4379, allocations: 3.984 kB / 0.5647 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.4379, allocations: 12 kB / 0.5647 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4379, allocations: 4 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.438, allocations: 8 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.438, allocations: 4.062 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.438, allocations: 4 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.4382, allocations: 237 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.4383, allocations: 11.91 kB / 0.5649 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.4383, allocations: 8 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.4384, allocations: 11.98 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4384, allocations: 4 kB / 0.5649 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4385, allocations: 7.984 kB / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.4387, allocations: 192.2 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4387, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4389, allocations: 27.94 kB / 0.5652 GB, free: 15.95 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 (11): * Single equations (assignments): 9 * 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.002453/0.4414, allocations: 1.169 MB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.4416, allocations: 79.84 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4416, allocations: 0 / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.441e-05/0.4417, allocations: 44.05 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4421, allocations: 44.34 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.4445, allocations: 1.883 MB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4449, allocations: 0.7236 MB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.4449, allocations: 20.62 kB / 0.569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.445, allocations: 47.42 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 5.82e-07/0.445, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.4721, allocations: 4.253 MB / 0.5732 GB, free: 7.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.71, allocations: 4.062 kB / 0.5732 GB, free: 7.828 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.884146282973234] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.926803948997986 11.942575023 11.507330122 Calling exit ...