Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 108.2 kB / 20.22 MB, free: 1.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 221.5 kB / 23.48 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 230.2 MB / 256.8 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2324/0.2324, allocations: 46.9 MB / 360 MB, free: 4.73 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 87.84 kB / 0.4951 GB, free: 8.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3811, allocations: 65.99 MB / 0.5596 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003398/0.3845, allocations: 1.838 MB / 0.5614 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3864, allocations: 1.115 MB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.3865, allocations: 0 / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.387, allocations: 303.3 kB / 0.5628 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.3875, allocations: 259.2 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3877, allocations: 111.6 kB / 0.5631 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.3881, allocations: 263.2 kB / 0.5634 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.3881, allocations: 9.672 kB / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.3884, allocations: 131.6 kB / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3887, allocations: 219.4 kB / 0.5637 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3887, allocations: 8 kB / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3888, allocations: 51.97 kB / 0.5638 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.389, allocations: 139.6 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.3891, allocations: 154.7 kB / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.3895, allocations: 376 kB / 0.5644 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3896, allocations: 0 / 0.5644 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3896, allocations: 0 / 0.5644 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3896, allocations: 7.938 kB / 0.5644 GB, free: 16 kB / 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.00104/0.3906, allocations: 0.7578 MB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3906, allocations: 8.031 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.3907, allocations: 42.73 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.3908, allocations: 48.61 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.3914, allocations: 464.2 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3914, allocations: 8.375 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3914, allocations: 384 / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.3917, allocations: 99.48 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3917, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3917, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3917, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3918, allocations: 35.91 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3922, allocations: 378.3 kB / 0.5662 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.3925, allocations: 105.2 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.3926, allocations: 37.7 kB / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3926, allocations: 0 / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.3928, allocations: 113 kB / 0.5664 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3928, allocations: 0 / 0.5664 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004859/0.3933, allocations: 197.2 kB / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3934, allocations: 85.05 kB / 0.5667 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3946, allocations: 1.05 MB / 0.5677 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3946, allocations: 33.7 kB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3948, allocations: 240.1 kB / 0.568 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3949, allocations: 35.75 kB / 0.568 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.3949, allocations: 25.7 kB / 0.5681 GB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3951, allocations: 370.8 kB / 0.5684 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.3952, allocations: 27.98 kB / 0.5684 GB, free: 11.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3953, allocations: 59.41 kB / 0.5685 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3955, allocations: 91.36 kB / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3955, allocations: 0 / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003085/0.3958, allocations: 177.7 kB / 0.5687 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3958, allocations: 8 kB / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3958, allocations: 64 / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3958, allocations: 8 kB / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.396, allocations: 23.92 kB / 0.5688 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.396, allocations: 7.922 kB / 0.5688 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.3961, allocations: 15.94 kB / 0.5688 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3961, allocations: 4 kB / 0.5688 GB, free: 11.21 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.0002279/0.3963, allocations: 214.7 kB / 0.569 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.3964, allocations: 67.5 kB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.3968, allocations: 205.7 kB / 0.5693 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3968, allocations: 0 / 0.5693 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3968, allocations: 0 / 0.5693 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3968, allocations: 3.984 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.3971, allocations: 349.4 kB / 0.5696 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3971, allocations: 3.938 kB / 0.5696 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3972, allocations: 15.94 kB / 0.5696 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3972, allocations: 0 / 0.5696 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3972, allocations: 3.984 kB / 0.5696 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3972, allocations: 4 kB / 0.5696 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3972, allocations: 4 kB / 0.5696 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.3975, allocations: 205.6 kB / 0.5698 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.3977, allocations: 148.6 kB / 0.57 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3977, allocations: 4 kB / 0.57 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3978, allocations: 8.172 kB / 0.57 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.3978, allocations: 15.92 kB / 0.57 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3979, allocations: 15.94 kB / 0.57 GB, free: 9.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008747/0.3987, allocations: 0.7839 MB / 0.5708 GB, free: 9.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3987, allocations: 0 / 0.5708 GB, free: 9.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.399, allocations: 40 kB / 0.5708 GB, free: 9.043 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.002043/0.401, allocations: 1.049 MB / 0.5719 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.4013, allocations: 87.83 kB / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4013, allocations: 0 / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.4014, allocations: 36.23 kB / 0.572 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4018, allocations: 84.11 kB / 0.572 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.4076, allocations: 4.586 MB / 0.5765 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.4082, allocations: 0.8469 MB / 0.5774 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.4083, allocations: 62.94 kB / 0.5774 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4085, allocations: 155.4 kB / 0.5776 GB, free: 2.133 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4085, allocations: 0 / 0.5776 GB, free: 2.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.4427, allocations: 9.194 MB / 0.5865 GB, free: 8.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.295, allocations: 4 kB / 0.5865 GB, free: 8.953 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.181850419030525] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.422429773956537 9.43778567 9.045194245 Calling exit ...