Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.001761/0.001761, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001535/0.001535, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2329/0.2329, allocations: 46.93 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] 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.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",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.002334/0.002334, allocations: 75.88 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3406, allocations: 66.09 MB / 0.5616 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003213/0.3438, allocations: 1.737 MB / 0.5633 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3464, allocations: 1.742 MB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.3465, allocations: 7.938 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.3468, allocations: 27.84 kB / 0.565 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.3471, allocations: 99.53 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3473, allocations: 83.66 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3475, allocations: 111.7 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.3476, allocations: 14.19 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3477, allocations: 47.77 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3478, allocations: 43.83 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3479, allocations: 8 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.348, allocations: 111.9 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.3481, allocations: 15.92 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.3481, allocations: 35.8 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3484, allocations: 171.3 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3485, allocations: 0 / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3485, allocations: 0 / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3485, allocations: 11.94 kB / 0.5657 GB, free: 152 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000576/0.349, allocations: 349.5 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3491, allocations: 8.031 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3491, allocations: 34.75 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3491, allocations: 16.83 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3494, allocations: 150.9 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3494, allocations: 4.375 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3495, allocations: 3.938 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3496, allocations: 83.27 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3497, allocations: 0 / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3497, allocations: 3.984 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3497, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.3498, allocations: 23.98 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.3501, allocations: 255.9 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3503, allocations: 62.61 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.3503, allocations: 16.8 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3504, allocations: 4 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.3505, allocations: 63.39 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3505, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005858/0.3511, allocations: 181.4 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.3512, allocations: 81.11 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3514, allocations: 162.4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3514, allocations: 29.7 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.3515, allocations: 96.12 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.3515, allocations: 27.75 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.3516, allocations: 25.7 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3517, allocations: 330.8 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.3518, allocations: 12 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.471e-05/0.3519, allocations: 50.48 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.352, allocations: 53.72 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.352, allocations: 4 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.3522, allocations: 101.5 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3522, allocations: 8.062 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3522, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3523, allocations: 4 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.3523, allocations: 16 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3524, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.3524, allocations: 11.92 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3524, allocations: 4 kB / 0.5679 GB, free: 13.69 MB / 414.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.0001126/0.3525, allocations: 122.7 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.3526, allocations: 7.953 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3528, allocations: 110.4 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3528, allocations: 4 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3528, allocations: 0 / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3528, allocations: 7.875 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.3533, allocations: 370.9 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3533, allocations: 0 / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.3533, allocations: 15.98 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3533, allocations: 11.97 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3533, allocations: 4 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3533, allocations: 3.938 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3534, allocations: 192 / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3536, allocations: 192.3 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.3536, allocations: 15.89 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.3537, allocations: 11.92 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.3537, allocations: 4 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3538, allocations: 15.97 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3538, allocations: 4 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3539, allocations: 127.9 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3539, allocations: 0 / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.3542, allocations: 47.86 kB / 0.5689 GB, free: 12.55 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: 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.002401/0.3566, allocations: 1.183 MB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3568, allocations: 59.91 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3568, allocations: 4.062 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.3569, allocations: 23.94 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3572, allocations: 35.08 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.3591, allocations: 1.585 MB / 0.5718 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3595, allocations: 0.7079 MB / 0.5725 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.3596, allocations: 17.27 kB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.3596, allocations: 35.42 kB / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3596, allocations: 0 / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.3899, allocations: 4.1 MB / 0.5765 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.469, allocations: 3.375 kB / 0.5765 GB, free: 4.824 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.564971535932273] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.606456405017525 8.621916496 8.270283259 Calling exit ...