Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.001691/0.001691, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001921/0.001921, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2714/0.2714, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",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.002296/0.002296, allocations: 87.86 kB / 0.4918 GB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 66.04 MB / 0.5563 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003265/0.1331, allocations: 1.933 MB / 0.5581 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.135, allocations: 1.134 MB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.1351, allocations: 3.938 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.1355, allocations: 259.3 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.136, allocations: 235.2 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1362, allocations: 111.7 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.1366, allocations: 283.2 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1367, allocations: 21.67 kB / 0.5601 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1369, allocations: 131.6 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1371, allocations: 215.3 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1371, allocations: 11.94 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1373, allocations: 63.97 kB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.376e-05/0.1374, allocations: 67.75 kB / 0.5606 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1375, allocations: 99.17 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1378, allocations: 246.8 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1378, allocations: 0 / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1378, allocations: 0 / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1378, allocations: 0 / 0.5609 GB, free: 0.6211 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008081/0.1386, allocations: 0.6105 MB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1387, allocations: 8.031 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.1387, allocations: 38.75 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.1388, allocations: 32.73 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1391, allocations: 290.6 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1392, allocations: 4.375 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1392, allocations: 12.38 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1394, allocations: 121 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1394, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1395, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1395, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1396, allocations: 51.95 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.1402, allocations: 480.7 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.1406, allocations: 125.1 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1407, allocations: 41.83 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1407, allocations: 3.938 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.1409, allocations: 136.8 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1409, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001323/0.1423, allocations: 0.5091 MB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.1423, allocations: 81.11 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.1429, allocations: 0.4938 MB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1429, allocations: 29.7 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.143, allocations: 176.4 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.1431, allocations: 67.44 kB / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.1432, allocations: 41.7 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1433, allocations: 354.7 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1435, allocations: 55.97 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1436, allocations: 95.34 kB / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1439, allocations: 159.5 kB / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1439, allocations: 0 / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004281/0.1443, allocations: 241.3 kB / 0.565 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1443, allocations: 8 kB / 0.565 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1443, allocations: 3.938 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1444, allocations: 4 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1445, allocations: 47.84 kB / 0.5651 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1445, allocations: 4 kB / 0.5651 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.1446, allocations: 8 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.1446, allocations: 8 kB / 0.5651 GB, free: 12.04 MB / 430.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000171/0.1448, allocations: 177.8 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.1449, allocations: 35.77 kB / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.1449, allocations: 46.83 kB / 0.5654 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1449, allocations: 4 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1449, allocations: 0 / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.145, allocations: 0 / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.1459, allocations: 0.7429 MB / 0.5661 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1459, allocations: 7.938 kB / 0.5661 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.146, allocations: 31.92 kB / 0.5661 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.146, allocations: 0 / 0.5661 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.146, allocations: 8 kB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.146, allocations: 4 kB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.146, allocations: 0 / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.1465, allocations: 429.9 kB / 0.5665 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.1466, allocations: 108.9 kB / 0.5666 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.1467, allocations: 8 kB / 0.5667 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1468, allocations: 11.98 kB / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1469, allocations: 23.92 kB / 0.5667 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.1469, allocations: 15.98 kB / 0.5667 GB, free: 10.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.1473, allocations: 371.1 kB / 0.5671 GB, free: 9.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1473, allocations: 4 kB / 0.5671 GB, free: 9.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.1476, allocations: 47.88 kB / 0.5671 GB, free: 9.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002626/0.1503, allocations: 1.364 MB / 0.5684 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.1506, allocations: 147.8 kB / 0.5686 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1506, allocations: 0 / 0.5686 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1508, allocations: 75.84 kB / 0.5687 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.1513, allocations: 58.27 kB / 0.5687 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.1551, allocations: 3.012 MB / 0.5716 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.1555, allocations: 0.787 MB / 0.5724 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1556, allocations: 49.89 kB / 0.5725 GB, free: 4.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.1558, allocations: 103.4 kB / 0.5726 GB, free: 4.285 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1558, allocations: 0 / 0.5726 GB, free: 4.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.1931, allocations: 6.701 MB / 0.5791 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/8.791, allocations: 7.922 kB / 0.5791 GB, free: 13.64 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.081191739998758] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.937366185709834 8.964775027 8.821948242 Calling exit ...