Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.001795/0.001795, allocations: 121.4 kB / 18.51 MB, free: 4.539 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.002282/0.002282, allocations: 213.6 kB / 21.46 MB, free: 1.59 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.521/1.521, allocations: 230.4 MB / 254.7 MB, free: 14.82 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.2385/0.2385, allocations: 46.93 MB / 357.7 MB, free: 10.15 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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",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.002287/0.002287, allocations: 79.86 kB / 0.4918 GB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1336, allocations: 66.04 MB / 0.5562 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003121/0.1367, allocations: 1.739 MB / 0.5579 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1384, allocations: 1.034 MB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.1385, allocations: 0 / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1388, allocations: 43.77 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1391, allocations: 99.59 kB / 0.5591 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1393, allocations: 75.67 kB / 0.5592 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1395, allocations: 115.6 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1396, allocations: 8 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.1397, allocations: 43.78 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.1398, allocations: 35.84 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1398, allocations: 4 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.1399, allocations: 43.98 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.14, allocations: 23.86 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.14, allocations: 47.66 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1403, allocations: 123.4 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1403, allocations: 0 / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1403, allocations: 0 / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1403, allocations: 0 / 0.5596 GB, free: 1.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006132/0.1409, allocations: 430.6 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1409, allocations: 8.031 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.141, allocations: 30.75 kB / 0.56 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.141, allocations: 16.88 kB / 0.5601 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1413, allocations: 220.1 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1413, allocations: 8.297 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1414, allocations: 4.375 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1415, allocations: 57.8 kB / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1415, allocations: 0 / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1415, allocations: 0 / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1415, allocations: 4 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.1416, allocations: 15.98 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.142, allocations: 296.8 kB / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1422, allocations: 54.61 kB / 0.5607 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.1423, allocations: 16.86 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1423, allocations: 0 / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1425, allocations: 71.39 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1425, allocations: 0 / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00058/0.143, allocations: 181.5 kB / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1431, allocations: 55.41 kB / 0.561 GB, free: 356 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1433, allocations: 214.1 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.1433, allocations: 25.7 kB / 0.5612 GB, free: 100 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.1434, allocations: 108.2 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1435, allocations: 19.86 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1435, allocations: 25.66 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1437, allocations: 326.8 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.1437, allocations: 23.94 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.1438, allocations: 33.7 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1439, allocations: 65.69 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1439, allocations: 0 / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.1441, allocations: 105.5 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1442, allocations: 7.984 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1442, allocations: 8.109 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1442, allocations: 0 / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.1443, allocations: 19.94 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1443, allocations: 0 / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1443, allocations: 4 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1443, allocations: 7.984 kB / 0.5619 GB, free: 15.32 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 (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.0001158/0.1444, allocations: 135 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1445, allocations: 11.91 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.1445, allocations: 21.39 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1445, allocations: 4 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1445, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1445, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.145, allocations: 399.2 kB / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.145, allocations: 0 / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.145, allocations: 8 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.145, allocations: 4.031 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.145, allocations: 4 kB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.145, allocations: 3.938 kB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.145, allocations: 0 / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1453, allocations: 204.5 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1454, allocations: 89.05 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1454, allocations: 8 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.1455, allocations: 7.938 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1455, allocations: 7.984 kB / 0.5628 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1455, allocations: 4 kB / 0.5628 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.1457, allocations: 156.3 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1457, allocations: 0 / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1459, allocations: 27.94 kB / 0.563 GB, free: 14.14 MB / 430.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.002195/0.1481, allocations: 1.107 MB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1483, allocations: 59.86 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1483, allocations: 0 / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.1484, allocations: 23.98 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1487, allocations: 30.38 kB / 0.5642 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1507, allocations: 1.693 MB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1511, allocations: 0.708 MB / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.364e-05/0.1511, allocations: 20.78 kB / 0.5665 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1512, allocations: 35.42 kB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1512, allocations: 0 / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.176, allocations: 3.534 MB / 0.57 GB, free: 7.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.252, allocations: 17.03 kB / 0.57 GB, free: 7.004 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.495864978060126] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.374312308616936 8.395619113 8.251512729 Calling exit ...