Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001266/0.001266, allocations: 122.6 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.001637/0.001637, allocations: 206.6 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.426/1.426, 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.2214/0.2214, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",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.002246/0.002246, allocations: 88.14 kB / 0.4918 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 66.04 MB / 0.5563 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003747/0.1287, allocations: 2.287 MB / 0.5585 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.131, allocations: 1.326 MB / 0.5598 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1311, allocations: 11.88 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.1315, allocations: 139.3 kB / 0.5599 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.1321, allocations: 266.8 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1324, allocations: 187.5 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.133, allocations: 466.6 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1331, allocations: 49.06 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.1335, allocations: 342.9 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1337, allocations: 175.1 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.1338, allocations: 19.94 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1339, allocations: 75.97 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1341, allocations: 151.4 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1343, allocations: 206.3 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.1348, allocations: 485.4 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1348, allocations: 3.938 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1348, allocations: 0 / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1348, allocations: 0 / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001221/0.136, allocations: 0.9172 MB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1361, allocations: 11.97 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.1361, allocations: 46.73 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1362, allocations: 72.47 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.1369, allocations: 448.8 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1369, allocations: 12.36 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.1369, allocations: 24.33 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1373, allocations: 189.1 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1374, allocations: 7.938 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1374, allocations: 4 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1374, allocations: 4 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.1377, allocations: 91.92 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009894/0.1386, allocations: 0.825 MB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.1393, allocations: 238.5 kB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.1395, allocations: 79.52 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1395, allocations: 12 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.1399, allocations: 200.2 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.1399, allocations: 0 / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002546/0.1424, allocations: 1.21 MB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.1425, allocations: 132.5 kB / 0.5666 GB, free: 10.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1436, allocations: 0.9536 MB / 0.5676 GB, free: 9.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1436, allocations: 37.7 kB / 0.5676 GB, free: 9.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1438, allocations: 280.9 kB / 0.5679 GB, free: 9.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.144, allocations: 142.8 kB / 0.568 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1441, allocations: 86.08 kB / 0.5681 GB, free: 8.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1442, allocations: 325.8 kB / 0.5684 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.1445, allocations: 112.8 kB / 0.5685 GB, free: 8.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.1448, allocations: 187.2 kB / 0.5687 GB, free: 8.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.1453, allocations: 319 kB / 0.569 GB, free: 7.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1453, allocations: 0 / 0.569 GB, free: 7.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007484/0.146, allocations: 448.8 kB / 0.5694 GB, free: 7.531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1461, allocations: 8 kB / 0.5694 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1461, allocations: 0 / 0.5694 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1461, allocations: 4 kB / 0.5694 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1463, allocations: 92.02 kB / 0.5695 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1464, allocations: 4.234 kB / 0.5695 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1465, allocations: 15.98 kB / 0.5695 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.1465, allocations: 23.94 kB / 0.5696 GB, free: 7.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002767/0.1468, allocations: 251.9 kB / 0.5698 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1469, allocations: 79.48 kB / 0.5699 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.1471, allocations: 93.72 kB / 0.57 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1471, allocations: 4 kB / 0.57 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1471, allocations: 8 kB / 0.57 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1471, allocations: 3.984 kB / 0.57 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1488, allocations: 1.346 MB / 0.5713 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1488, allocations: 4 kB / 0.5713 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1489, allocations: 67.84 kB / 0.5714 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.149, allocations: 4 kB / 0.5714 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.149, allocations: 16 kB / 0.5714 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.149, allocations: 4 kB / 0.5714 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.149, allocations: 4 kB / 0.5714 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.1499, allocations: 0.7931 MB / 0.5722 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.1501, allocations: 196.4 kB / 0.5724 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.1502, allocations: 16 kB / 0.5724 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1504, allocations: 15.98 kB / 0.5724 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.1505, allocations: 43.83 kB / 0.5724 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.1506, allocations: 27.98 kB / 0.5725 GB, free: 4.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007636/0.1513, allocations: 0.6982 MB / 0.5731 GB, free: 3.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1513, allocations: 0 / 0.5731 GB, free: 3.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.1518, allocations: 91.92 kB / 0.5732 GB, free: 3.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003056/0.1549, allocations: 1.755 MB / 0.5749 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006464/0.1555, allocations: 303.7 kB / 0.5752 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1555, allocations: 0 / 0.5752 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.1558, allocations: 139.8 kB / 0.5754 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.1568, allocations: 134.1 kB / 0.5755 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/0.1632, allocations: 5.142 MB / 0.5805 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.1638, allocations: 0.9172 MB / 0.5814 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.164, allocations: 79.3 kB / 0.5815 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.1643, allocations: 207.4 kB / 0.5817 GB, free: 10.75 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1643, allocations: 4 kB / 0.5817 GB, free: 10.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2709/0.4352, allocations: 11.57 MB / 0.593 GB, free: 33.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.996/10.43, allocations: 10.84 kB / 0.593 GB, free: 33.58 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00219736 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.593552834820002] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 10.557051261886954 10.570472644 10.432964383 Calling exit ...