Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001732/0.001732, 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.002744/0.002744, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2526/0.2526, allocations: 44.92 MB / 359.6 MB, free: 6.281 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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.002113/0.002113, allocations: 59.91 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4014, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004234/0.4056, allocations: 2.3 MB / 0.5601 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.4083, allocations: 1.337 MB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.4085, allocations: 11.88 kB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.409, allocations: 135.3 kB / 0.5616 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.4097, allocations: 234.9 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.4103, allocations: 195.5 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.4109, allocations: 470.6 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.4111, allocations: 47.22 kB / 0.5625 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.4116, allocations: 315 kB / 0.5628 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.4118, allocations: 167.1 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.4118, allocations: 16 kB / 0.5629 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.412, allocations: 71.98 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.4121, allocations: 135.4 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.4123, allocations: 182.5 kB / 0.5633 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005435/0.4128, allocations: 449.7 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4128, allocations: 0 / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4129, allocations: 3.938 kB / 0.5637 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4129, allocations: 4 kB / 0.5637 GB, free: 1.68 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001132/0.414, allocations: 0.7605 MB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.983e-05/0.4141, allocations: 12.03 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.674e-05/0.4141, allocations: 4.172 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.4141, allocations: 54.67 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.4142, allocations: 64.52 kB / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.4148, allocations: 353.9 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4149, allocations: 16.12 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.4149, allocations: 27.88 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.4153, allocations: 189.5 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4153, allocations: 3.984 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.4153, allocations: 8 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4153, allocations: 8 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.4156, allocations: 91.86 kB / 0.5653 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.4165, allocations: 0.7695 MB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.4171, allocations: 230.5 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4173, allocations: 95.5 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.4173, allocations: 4 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.4177, allocations: 200.4 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.502e-06/0.4177, allocations: 0 / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002888/0.4206, allocations: 1.14 MB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.4207, allocations: 148.4 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.4218, allocations: 0.793 MB / 0.5686 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.4219, allocations: 37.69 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.4221, allocations: 237 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.4223, allocations: 142.8 kB / 0.569 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4224, allocations: 86.08 kB / 0.5691 GB, free: 11.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.4227, allocations: 378.7 kB / 0.5694 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.4229, allocations: 112.8 kB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.4232, allocations: 187.1 kB / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.4237, allocations: 318.9 kB / 0.57 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4237, allocations: 4 kB / 0.57 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007652/0.4245, allocations: 433 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4245, allocations: 4 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4245, allocations: 7.984 kB / 0.5704 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4246, allocations: 4 kB / 0.5704 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.4248, allocations: 87.84 kB / 0.5705 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4249, allocations: 7.938 kB / 0.5705 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.425, allocations: 19.98 kB / 0.5705 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.425, allocations: 12 kB / 0.5706 GB, free: 10.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002755/0.4253, allocations: 244.1 kB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4254, allocations: 71.52 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4264, allocations: 499.5 kB / 0.5713 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4264, allocations: 7.938 kB / 0.5713 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4265, allocations: 7.938 kB / 0.5714 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.4265, allocations: 3.984 kB / 0.5714 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.4283, allocations: 1.279 MB / 0.5726 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.4283, allocations: 8.062 kB / 0.5726 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.4285, allocations: 60 kB / 0.5727 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.4285, allocations: 11.94 kB / 0.5727 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4286, allocations: 15.98 kB / 0.5727 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.4286, allocations: 8 kB / 0.5727 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.4286, allocations: 11.88 kB / 0.5727 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.4296, allocations: 0.7967 MB / 0.5735 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.4298, allocations: 95.52 kB / 0.5736 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.4298, allocations: 16 kB / 0.5736 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.4301, allocations: 15.98 kB / 0.5736 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4302, allocations: 39.88 kB / 0.5737 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.4302, allocations: 23.98 kB / 0.5737 GB, free: 7.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006544/0.4309, allocations: 0.585 MB / 0.5742 GB, free: 6.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4309, allocations: 3.938 kB / 0.5743 GB, free: 6.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000551/0.4314, allocations: 87.92 kB / 0.5743 GB, free: 6.352 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003198/0.4346, allocations: 1.761 MB / 0.5761 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.4354, allocations: 292 kB / 0.5763 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4354, allocations: 0 / 0.5763 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.4357, allocations: 156.8 kB / 0.5765 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.4367, allocations: 132.1 kB / 0.5766 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006156/0.4428, allocations: 4.751 MB / 0.5812 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.4434, allocations: 0.8821 MB / 0.5821 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.4436, allocations: 75.3 kB / 0.5822 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.4438, allocations: 191.4 kB / 0.5824 GB, free: 14.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4438, allocations: 0 / 0.5824 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.4803, allocations: 11.27 MB / 0.5934 GB, free: 2.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.46, allocations: 11.17 kB / 0.5934 GB, free: 2.926 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.720147277985234] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 12.687773457961157 12.715343382 12.29685454 Calling exit ...