Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001297/0.001297, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001604/0.001604, allocations: 205 kB / 21.45 MB, free: 1.629 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.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2364/0.2364, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",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.002228/0.002228, allocations: 83.86 kB / 0.4918 GB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 66.03 MB / 0.5563 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003386/0.1331, allocations: 1.761 MB / 0.558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1349, allocations: 1.036 MB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.135, allocations: 7.938 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1354, allocations: 83.7 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1357, allocations: 115.6 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1359, allocations: 79.66 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1361, allocations: 119.6 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1362, allocations: 19.97 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1363, allocations: 59.77 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1365, allocations: 63.75 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1365, allocations: 4 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1366, allocations: 59.97 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.1367, allocations: 27.91 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.1367, allocations: 39.62 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1369, allocations: 143.4 kB / 0.5598 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1369, allocations: 0 / 0.5598 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1369, allocations: 0 / 0.5598 GB, free: 1.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.137, allocations: 0 / 0.5598 GB, free: 1.82 MB / 414.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.0005708/0.1375, allocations: 446.5 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1376, allocations: 12.03 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.1376, allocations: 30.75 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1376, allocations: 16.84 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.138, allocations: 216.1 kB / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.138, allocations: 4.375 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.138, allocations: 8.312 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1382, allocations: 69.77 kB / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1382, allocations: 0 / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1382, allocations: 4 kB / 0.5605 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1382, allocations: 0 / 0.5605 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.1383, allocations: 23.98 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1388, allocations: 308.7 kB / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.139, allocations: 62.48 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.1391, allocations: 24.97 kB / 0.5609 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1391, allocations: 0 / 0.5609 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.1392, allocations: 67.39 kB / 0.561 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1392, allocations: 3.938 kB / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007806/0.14, allocations: 237.3 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1401, allocations: 59.41 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1403, allocations: 223.9 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1404, allocations: 33.7 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.1404, allocations: 104.1 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1405, allocations: 31.73 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.1405, allocations: 33.7 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1407, allocations: 326.8 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.1407, allocations: 23.98 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.1408, allocations: 49.7 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.141, allocations: 81.64 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.141, allocations: 3.938 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002299/0.1412, allocations: 129.6 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1412, allocations: 5.719 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1412, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1412, allocations: 8 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.1413, allocations: 19.94 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1413, allocations: 4.031 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1414, allocations: 11.92 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1414, allocations: 8 kB / 0.5623 GB, free: 14.93 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001197/0.1415, allocations: 135.2 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1415, allocations: 11.91 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.1416, allocations: 17.41 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1416, allocations: 0 / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1416, allocations: 0 / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.1416, allocations: 11.94 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.1422, allocations: 456 kB / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1422, allocations: 0 / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.1422, allocations: 27.8 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1422, allocations: 4 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1422, allocations: 0 / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1422, allocations: 4 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1422, allocations: 0 / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1426, allocations: 229.2 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.1426, allocations: 96.95 kB / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1427, allocations: 7.938 kB / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.1427, allocations: 0 / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1428, allocations: 15.98 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1428, allocations: 4 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1429, allocations: 169.2 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1429, allocations: 0 / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1432, allocations: 31.94 kB / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002463/0.1457, allocations: 1.18 MB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.1459, allocations: 71.91 kB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1459, allocations: 0 / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.146, allocations: 35.92 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1464, allocations: 31.72 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.149, allocations: 1.831 MB / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1494, allocations: 0.7196 MB / 0.5673 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.1495, allocations: 16.64 kB / 0.5673 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.1496, allocations: 47.41 kB / 0.5673 GB, free: 9.73 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1496, allocations: 0 / 0.5673 GB, free: 9.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1755, allocations: 3.912 MB / 0.5712 GB, free: 5.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.199, allocations: 10.11 kB / 0.5712 GB, free: 5.875 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.404865783639252] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.325416576117277 8.340124408 8.200195787 Calling exit ...