Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001259/0.001259, 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.001359/0.001359, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.543/1.543, 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.2304/0.2304, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.002073/0.002073, allocations: 67.89 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4017, allocations: 65.46 MB / 0.5579 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003744/0.4054, allocations: 1.742 MB / 0.5596 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4073, allocations: 1.049 MB / 0.5606 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.4074, allocations: 3.938 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.4077, allocations: 39.77 kB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.408, allocations: 99.53 kB / 0.5607 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.4082, allocations: 79.67 kB / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.4085, allocations: 107.7 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.4086, allocations: 9.906 kB / 0.5609 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.4087, allocations: 55.66 kB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.4087, allocations: 35.84 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4088, allocations: 4 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.4089, allocations: 39.98 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.4089, allocations: 15.92 kB / 0.5611 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.409, allocations: 39.73 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.4092, allocations: 123.5 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4092, allocations: 3.938 kB / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4092, allocations: 4 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4092, allocations: 3.938 kB / 0.5612 GB, free: 4.32 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.0006028/0.4098, allocations: 341.6 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4099, allocations: 12.02 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.4099, allocations: 4.188 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.4099, allocations: 34.75 kB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.41, allocations: 12.89 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.4103, allocations: 151 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4103, allocations: 8.125 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.4103, allocations: 8 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.4105, allocations: 53.61 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4105, allocations: 0 / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4105, allocations: 4 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4105, allocations: 0 / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.4106, allocations: 19.98 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.411, allocations: 260 kB / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4112, allocations: 58.61 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.4112, allocations: 20.84 kB / 0.5622 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4113, allocations: 0 / 0.5622 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.4114, allocations: 67.39 kB / 0.5622 GB, free: 3.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4114, allocations: 4 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.412, allocations: 177.3 kB / 0.5624 GB, free: 2.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4121, allocations: 59.34 kB / 0.5625 GB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4123, allocations: 198.2 kB / 0.5626 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4123, allocations: 29.7 kB / 0.5627 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.4124, allocations: 100.1 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4124, allocations: 23.8 kB / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.4125, allocations: 25.7 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4127, allocations: 330.8 kB / 0.5631 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.4127, allocations: 16 kB / 0.5631 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.4128, allocations: 41.58 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4129, allocations: 61.69 kB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4129, allocations: 4 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.4131, allocations: 101.6 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4131, allocations: 4 kB / 0.5633 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4132, allocations: 7.984 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4132, allocations: 384 / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.4133, allocations: 16 kB / 0.5634 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4133, allocations: 3.938 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.4133, allocations: 8 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4133, allocations: 4 kB / 0.5634 GB, free: 1.891 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.0001222/0.4135, allocations: 129.8 kB / 0.5635 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.4135, allocations: 15.91 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.4137, allocations: 115.2 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4137, allocations: 0 / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4137, allocations: 3.938 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4137, allocations: 0 / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.4142, allocations: 370.5 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4142, allocations: 0 / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.4143, allocations: 8 kB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.4143, allocations: 7.969 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4143, allocations: 8 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4143, allocations: 0 / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4143, allocations: 3.938 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.4145, allocations: 200.3 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.4146, allocations: 23.81 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.4146, allocations: 4 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.4147, allocations: 4 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4147, allocations: 7.984 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4147, allocations: 4 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4148, allocations: 148.2 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4148, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.4151, allocations: 23.94 kB / 0.5644 GB, free: 0.7383 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.002207/0.4173, allocations: 1.098 MB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.4175, allocations: 55.92 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4175, allocations: 0 / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.4176, allocations: 23.98 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.418, allocations: 33.41 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.4199, allocations: 1.67 MB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4203, allocations: 0.7119 MB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.402e-05/0.4203, allocations: 12.98 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.4204, allocations: 35.42 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4204, allocations: 0 / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.4459, allocations: 3.662 MB / 0.5715 GB, free: 9.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.79, allocations: 7.562 kB / 0.5716 GB, free: 9.559 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.906838681956287] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.005264270002954 12.033318129 11.619024363 Calling exit ...