Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001793/0.001793, 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.00205/0.00205, allocations: 205.2 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.559/1.559, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2591/0.2591, allocations: 44.92 MB / 359.6 MB, free: 6.305 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.002485/0.002485, allocations: 59.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4174, allocations: 65.48 MB / 0.5579 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003958/0.4214, allocations: 1.849 MB / 0.5597 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.4236, allocations: 1.108 MB / 0.5607 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.4237, allocations: 0 / 0.5607 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.4243, allocations: 303.2 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.4249, allocations: 259.2 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.4252, allocations: 103.7 kB / 0.5614 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.4256, allocations: 271.2 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.4257, allocations: 5.812 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.4259, allocations: 139.5 kB / 0.5618 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.4262, allocations: 216 kB / 0.562 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.4262, allocations: 8 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4264, allocations: 51.92 kB / 0.562 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4265, allocations: 132.5 kB / 0.5622 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.4267, allocations: 146.8 kB / 0.5623 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.4272, allocations: 372.1 kB / 0.5627 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4272, allocations: 0 / 0.5627 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4272, allocations: 3.938 kB / 0.5627 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.4272, allocations: 0 / 0.5627 GB, free: 2.863 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.001181/0.4284, allocations: 0.6786 MB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.4285, allocations: 8.031 kB / 0.5633 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.708e-05/0.4285, allocations: 192 / 0.5633 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.4285, allocations: 38.75 kB / 0.5634 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.4286, allocations: 52.59 kB / 0.5634 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.4294, allocations: 390.6 kB / 0.5638 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4294, allocations: 8.062 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.4294, allocations: 8 kB / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.4296, allocations: 91.36 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4296, allocations: 0 / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.4297, allocations: 4 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4297, allocations: 0 / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4298, allocations: 35.91 kB / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.4302, allocations: 341.5 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.4305, allocations: 105.2 kB / 0.5644 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.4306, allocations: 33.7 kB / 0.5644 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.4306, allocations: 11.92 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.4309, allocations: 105.1 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.4309, allocations: 0 / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005332/0.4314, allocations: 205.2 kB / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.4315, allocations: 81.11 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.4327, allocations: 1.026 MB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.4327, allocations: 33.7 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4329, allocations: 236.1 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.433, allocations: 23.8 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.433, allocations: 33.64 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4332, allocations: 366.8 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.4333, allocations: 27.92 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.4334, allocations: 67.41 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.4336, allocations: 91.3 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4336, allocations: 0 / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003181/0.4339, allocations: 177.8 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4339, allocations: 4 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4339, allocations: 4.062 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4339, allocations: 4 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4341, allocations: 23.92 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4341, allocations: 0 / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4342, allocations: 19.89 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4342, allocations: 4 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000231/0.4344, allocations: 217.7 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.4345, allocations: 55.67 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.4349, allocations: 197.8 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4349, allocations: 0 / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4349, allocations: 0 / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4349, allocations: 4 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.4353, allocations: 316.5 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4353, allocations: 0 / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.4354, allocations: 8 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4354, allocations: 4 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4354, allocations: 11.92 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4354, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4354, allocations: 8 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.4358, allocations: 213.5 kB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4359, allocations: 63.59 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.4359, allocations: 4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.436, allocations: 11.98 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.4361, allocations: 12.11 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.4361, allocations: 8 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008548/0.4369, allocations: 0.7643 MB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4369, allocations: 0 / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.4372, allocations: 44 kB / 0.5687 GB, free: 12.32 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002153/0.4394, allocations: 1.062 MB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.4396, allocations: 79.91 kB / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4396, allocations: 0 / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4398, allocations: 44.28 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.4403, allocations: 76.2 kB / 0.5699 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.4465, allocations: 4.488 MB / 0.5743 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.447, allocations: 0.8464 MB / 0.5752 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.4472, allocations: 58.94 kB / 0.5752 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.4474, allocations: 147.4 kB / 0.5753 GB, free: 5.523 MB / 414.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4474, allocations: 0 / 0.5753 GB, free: 5.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.4809, allocations: 9.24 MB / 0.5844 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.29, allocations: 11.11 kB / 0.5844 GB, free: 12.37 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.574279152962845] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.512948382005561 12.527843122 12.097390858 Calling exit ...