Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.001318/0.001318, allocations: 120 kB / 18.5 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.002162/0.002162, allocations: 213.6 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.469/1.469, 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.2217/0.2217, 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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",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.002301/0.002301, allocations: 87.84 kB / 0.4918 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 66.04 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003066/0.135, allocations: 1.736 MB / 0.5579 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1367, allocations: 1.038 MB / 0.5589 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.1368, allocations: 0 / 0.5589 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1371, allocations: 43.75 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1374, allocations: 99.53 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1376, allocations: 75.73 kB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1377, allocations: 103.6 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1378, allocations: 15.98 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.1379, allocations: 47.8 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.138, allocations: 31.83 kB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.138, allocations: 4 kB / 0.5594 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.1381, allocations: 47.92 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1382, allocations: 19.92 kB / 0.5594 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1382, allocations: 35.73 kB / 0.5595 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1384, allocations: 123.4 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1384, allocations: 0 / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1384, allocations: 0 / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1384, allocations: 0 / 0.5596 GB, free: 2.035 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.0005711/0.139, allocations: 426.7 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.139, allocations: 8.031 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1391, allocations: 38.69 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1391, allocations: 12.88 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1394, allocations: 212.9 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1394, allocations: 4.359 kB / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1394, allocations: 384 / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1396, allocations: 61.8 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1396, allocations: 4 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1396, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1396, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.1397, allocations: 23.92 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.14, allocations: 296.8 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1402, allocations: 58.61 kB / 0.5607 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.1403, allocations: 16.86 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1403, allocations: 4 kB / 0.5607 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1404, allocations: 67.33 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1404, allocations: 0 / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005252/0.141, allocations: 173.3 kB / 0.5609 GB, free: 488 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.141, allocations: 55.41 kB / 0.561 GB, free: 420 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1412, allocations: 198.4 kB / 0.5612 GB, free: 212 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1412, allocations: 29.7 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1413, allocations: 104.1 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1413, allocations: 27.78 kB / 0.5613 GB, free: 40 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1414, allocations: 21.72 kB / 0.5613 GB, free: 12 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1415, allocations: 322.8 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.1416, allocations: 23.98 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.1417, allocations: 41.7 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1418, allocations: 57.66 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1418, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.142, allocations: 105.6 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.142, allocations: 4 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.142, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.142, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1421, allocations: 27.95 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1421, allocations: 384 / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.1421, allocations: 4 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1422, allocations: 4 kB / 0.5619 GB, free: 15.41 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.0001291/0.1423, allocations: 125.8 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1423, allocations: 23.89 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1424, allocations: 13.41 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1424, allocations: 0 / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1424, allocations: 4 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1424, allocations: 4 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.1428, allocations: 395.2 kB / 0.5624 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1428, allocations: 4 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.1429, allocations: 8 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1429, allocations: 7.938 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1429, allocations: 3.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1429, allocations: 8.344 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1429, allocations: 4 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1431, allocations: 208.3 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1432, allocations: 85.02 kB / 0.5627 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1432, allocations: 4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.1433, allocations: 3.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1433, allocations: 7.984 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1433, allocations: 8 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1435, allocations: 148.2 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1435, allocations: 0 / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1437, allocations: 23.94 kB / 0.5629 GB, free: 14.23 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.002141/0.1459, allocations: 1.093 MB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1461, allocations: 55.86 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1461, allocations: 0 / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.1462, allocations: 27.92 kB / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1465, allocations: 38.91 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.1484, allocations: 1.658 MB / 0.5657 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1488, allocations: 0.708 MB / 0.5664 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1488, allocations: 20.86 kB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.1489, allocations: 35.42 kB / 0.5665 GB, free: 10.61 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1489, allocations: 0 / 0.5665 GB, free: 10.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.1752, allocations: 3.491 MB / 0.5699 GB, free: 7.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.25, allocations: 4 kB / 0.5699 GB, free: 7.188 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19_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_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.331024135928601] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.371455125045031 8.391929574 8.249705059 Calling exit ...