Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 46.94 MB / 360.9 MB, free: 4.258 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 0.4962 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003361/0.3341, allocations: 2.058 MB / 0.5627 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.336, allocations: 1.142 MB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.3361, allocations: 3.938 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3364, allocations: 43.7 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.3367, allocations: 119.4 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3369, allocations: 111.6 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3372, allocations: 203.4 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3373, allocations: 27.62 kB / 0.5643 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3375, allocations: 87.62 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3376, allocations: 79.56 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.3376, allocations: 12 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3377, allocations: 51.98 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.3378, allocations: 39.83 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.3379, allocations: 79.53 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3382, allocations: 203.1 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3382, allocations: 4 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3382, allocations: 0 / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3382, allocations: 0 / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009192/0.3391, allocations: 0.4887 MB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3392, allocations: 8.031 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.3392, allocations: 46.73 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.3393, allocations: 16.84 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.3396, allocations: 190.1 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3396, allocations: 4.375 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.3396, allocations: 11.94 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.3401, allocations: 156.2 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3401, allocations: 0 / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3401, allocations: 3.938 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3401, allocations: 4 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.3405, allocations: 111.9 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.3412, allocations: 0.5233 MB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.3418, allocations: 158.6 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.342, allocations: 68.73 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3421, allocations: 7.938 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.3424, allocations: 135.3 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3424, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008711/0.3433, allocations: 261.2 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3434, allocations: 59.41 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3436, allocations: 240 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3436, allocations: 29.7 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.3437, allocations: 124.4 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3438, allocations: 47.67 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.3438, allocations: 33.7 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.344, allocations: 326.8 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.3442, allocations: 71.94 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3445, allocations: 102.7 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.345, allocations: 193.8 kB / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.345, allocations: 0 / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006358/0.3456, allocations: 267 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.3456, allocations: 33.7 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3456, allocations: 4 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3457, allocations: 3.938 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3458, allocations: 31.97 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3459, allocations: 8.062 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.346, allocations: 31.92 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.346, allocations: 8 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001236/0.3462, allocations: 133.8 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3462, allocations: 15.91 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.3468, allocations: 218.8 kB / 0.5689 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3468, allocations: 3.938 kB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3468, allocations: 4 kB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3468, allocations: 0 / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.347, allocations: 204.6 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.347, allocations: 0 / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.3472, allocations: 23.97 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3472, allocations: 0 / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3472, allocations: 4 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3472, allocations: 7.938 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3472, allocations: 4 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.348, allocations: 304.7 kB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.3481, allocations: 23.83 kB / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.3481, allocations: 4 kB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3483, allocations: 23.91 kB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.3483, allocations: 19.97 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3483, allocations: 7.984 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3485, allocations: 165.9 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3485, allocations: 4 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3487, allocations: 43.98 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002481/0.3512, allocations: 1.139 MB / 0.5708 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005904/0.3518, allocations: 207.2 kB / 0.571 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3518, allocations: 0 / 0.571 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3521, allocations: 84.06 kB / 0.5711 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3524, allocations: 58.05 kB / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.3557, allocations: 2.181 MB / 0.5732 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3561, allocations: 0.7242 MB / 0.5739 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3562, allocations: 25.47 kB / 0.574 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3563, allocations: 51.41 kB / 0.574 GB, free: 6.414 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3563, allocations: 0 / 0.574 GB, free: 6.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3876, allocations: 5.248 MB / 0.5791 GB, free: 1.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.46, allocations: 11.38 kB / 0.5792 GB, free: 1.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.662822559002961] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.62342531500326 11.649664918000001 11.30596613 Calling exit ...