Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001233/0.001233, allocations: 112.5 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.001468/0.001468, 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2491/0.2491, allocations: 44.92 MB / 359.6 MB, free: 6.297 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002876/0.002876, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4397, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003566/0.4433, allocations: 1.85 MB / 0.5596 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.4454, allocations: 1.118 MB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.4455, allocations: 3.938 kB / 0.5607 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.4461, allocations: 299.3 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.4467, allocations: 255.2 kB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.447, allocations: 111.6 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.4474, allocations: 267.2 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.4474, allocations: 9.797 kB / 0.5616 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.4477, allocations: 139.5 kB / 0.5618 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.448, allocations: 208 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.448, allocations: 8 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4482, allocations: 43.98 kB / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.4483, allocations: 144.4 kB / 0.5622 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.4485, allocations: 146.8 kB / 0.5623 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.449, allocations: 364.2 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.449, allocations: 0 / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.449, allocations: 8 kB / 0.5627 GB, free: 2.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.449, allocations: 0 / 0.5627 GB, free: 2.82 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.001267/0.4503, allocations: 0.6846 MB / 0.5633 GB, free: 2.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.4503, allocations: 12.03 kB / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.4504, allocations: 192 / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.4504, allocations: 34.73 kB / 0.5634 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.4505, allocations: 52.61 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.4512, allocations: 386.6 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4512, allocations: 16.11 kB / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4512, allocations: 4 kB / 0.5638 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.4515, allocations: 87.31 kB / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4515, allocations: 0 / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4515, allocations: 3.984 kB / 0.5639 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4515, allocations: 4 kB / 0.5639 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4516, allocations: 27.98 kB / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.4521, allocations: 345.5 kB / 0.5643 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.4524, allocations: 101.1 kB / 0.5644 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4525, allocations: 41.7 kB / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.4525, allocations: 0 / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.4528, allocations: 112.9 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.4528, allocations: 0 / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005319/0.4534, allocations: 201.2 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.4534, allocations: 81.11 kB / 0.5648 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4547, allocations: 1.034 MB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4548, allocations: 25.7 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.455, allocations: 232.1 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.455, allocations: 27.83 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.4551, allocations: 29.72 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4553, allocations: 366.8 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.4554, allocations: 31.98 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4555, allocations: 67.28 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.4557, allocations: 91.86 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4557, allocations: 0 / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003236/0.456, allocations: 181.2 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.456, allocations: 8 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.456, allocations: 0 / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.456, allocations: 0 / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4562, allocations: 23.98 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4562, allocations: 0 / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.994e-05/0.4563, allocations: 11.89 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4563, allocations: 7.938 kB / 0.5668 GB, free: 14.29 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.0002441/0.4565, allocations: 233.8 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.4566, allocations: 47.67 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004125/0.457, allocations: 193.8 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.457, allocations: 4 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.457, allocations: 0 / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.457, allocations: 0 / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.4574, allocations: 320.7 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4574, allocations: 0 / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.4574, allocations: 15.98 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4574, allocations: 4 kB / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4575, allocations: 4 kB / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4575, allocations: 0 / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4575, allocations: 0 / 0.5676 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.4578, allocations: 221.4 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4579, allocations: 67.59 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.458, allocations: 8 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.4581, allocations: 7.938 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.4581, allocations: 11.98 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.4582, allocations: 7.984 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008647/0.459, allocations: 0.7604 MB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.459, allocations: 0 / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.4593, allocations: 44 kB / 0.5687 GB, free: 12.28 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.002217/0.4615, allocations: 1.061 MB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.4618, allocations: 83.89 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4618, allocations: 0 / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.462, allocations: 44.05 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.4624, allocations: 79.14 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.4686, allocations: 4.481 MB / 0.5743 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.4693, allocations: 0.8464 MB / 0.5751 GB, free: 5.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.4695, allocations: 63.42 kB / 0.5752 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.4697, allocations: 151.4 kB / 0.5754 GB, free: 5.477 MB / 414.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4697, allocations: 0 / 0.5754 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.5031, allocations: 9.244 MB / 0.5844 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.27, allocations: 4.062 kB / 0.5844 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.428902372019365] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.492137405031826 12.516527835 12.062660417 Calling exit ...