Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001247/0.001247, allocations: 117.6 kB / 18.5 MB, free: 4.602 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.001474/0.001474, allocations: 205 kB / 21.45 MB, free: 1.652 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.41/1.41, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2247/0.2247, allocations: 46.92 MB / 357.7 MB, free: 10.32 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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",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.00224/0.00224, allocations: 83.86 kB / 0.4918 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 66.04 MB / 0.5563 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003402/0.1177, allocations: 1.929 MB / 0.5581 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1198, allocations: 1.134 MB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1199, allocations: 7.938 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.1204, allocations: 255.4 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1209, allocations: 239.1 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1211, allocations: 107.7 kB / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1215, allocations: 275.2 kB / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1216, allocations: 17.67 kB / 0.5601 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1218, allocations: 139.5 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.122, allocations: 219.3 kB / 0.5605 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.122, allocations: 8 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1222, allocations: 59.98 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.1223, allocations: 67.75 kB / 0.5606 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.1223, allocations: 95.17 kB / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1227, allocations: 250.8 kB / 0.5609 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1227, allocations: 0 / 0.5609 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1227, allocations: 0 / 0.5609 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1227, allocations: 0 / 0.5609 GB, free: 0.7461 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.0009871/0.1237, allocations: 0.6066 MB / 0.5615 GB, free: 92 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1237, allocations: 8.031 kB / 0.5615 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.1238, allocations: 46.67 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1239, allocations: 32.8 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.1243, allocations: 290.7 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1243, allocations: 4.375 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.1243, allocations: 8.375 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.1247, allocations: 120.7 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1247, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1247, allocations: 3.984 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1247, allocations: 4 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1249, allocations: 51.94 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.1254, allocations: 484.7 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1258, allocations: 117.2 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1259, allocations: 41.81 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1259, allocations: 7.938 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.1262, allocations: 133.1 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.1262, allocations: 4 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001341/0.1275, allocations: 0.5093 MB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.1276, allocations: 81.11 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.1282, allocations: 0.4899 MB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1282, allocations: 33.7 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1284, allocations: 168.4 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.761e-05/0.1285, allocations: 71.42 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.1285, allocations: 45.7 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1287, allocations: 350.7 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1289, allocations: 55.98 kB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1291, allocations: 95.33 kB / 0.5646 GB, free: 12.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1294, allocations: 155.5 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1294, allocations: 0 / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004248/0.1298, allocations: 245.2 kB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1298, allocations: 4 kB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1298, allocations: 7.938 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1298, allocations: 0 / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.13, allocations: 43.98 kB / 0.5651 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.13, allocations: 3.938 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.845e-05/0.1301, allocations: 11.98 kB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1301, allocations: 8 kB / 0.5651 GB, free: 12.16 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.0001722/0.1303, allocations: 173.9 kB / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.1303, allocations: 35.77 kB / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.1304, allocations: 42.83 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1304, allocations: 4 kB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1304, allocations: 3.984 kB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1304, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.1314, allocations: 0.7428 MB / 0.5661 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1314, allocations: 3.938 kB / 0.5661 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.1315, allocations: 32.11 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1315, allocations: 4 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1315, allocations: 11.94 kB / 0.5661 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1315, allocations: 0 / 0.5661 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.1315, allocations: 7.984 kB / 0.5661 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.132, allocations: 425.9 kB / 0.5665 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.1321, allocations: 112.9 kB / 0.5666 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1321, allocations: 8 kB / 0.5667 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1323, allocations: 12 kB / 0.5667 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1323, allocations: 19.91 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.1323, allocations: 12 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003709/0.1327, allocations: 371.1 kB / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1327, allocations: 0 / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.1331, allocations: 51.92 kB / 0.5671 GB, free: 9.988 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.002627/0.1357, allocations: 1.373 MB / 0.5684 GB, free: 8.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.1361, allocations: 147.8 kB / 0.5686 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1361, allocations: 0 / 0.5686 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1363, allocations: 75.84 kB / 0.5687 GB, free: 8.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.1368, allocations: 68.38 kB / 0.5687 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.1407, allocations: 3.001 MB / 0.5716 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.1413, allocations: 0.7831 MB / 0.5724 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1414, allocations: 49.91 kB / 0.5725 GB, free: 4.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1416, allocations: 107.4 kB / 0.5726 GB, free: 4.402 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1416, allocations: 0 / 0.5726 GB, free: 4.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.1714, allocations: 6.699 MB / 0.5791 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/8.707, allocations: 7.922 kB / 0.5791 GB, free: 13.76 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_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_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.74711429188028] 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.832132594194263 8.858661118 8.731280919 Calling exit ...