Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001909/0.001909, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002305/0.002305, allocations: 204.4 kB / 23.72 MB, free: 4.391 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 83.86 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3193, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003378/0.3227, allocations: 1.978 MB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3245, allocations: 1.068 MB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.3246, allocations: 3.938 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3248, allocations: 47.7 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.3251, allocations: 111.4 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3254, allocations: 115.6 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.3257, allocations: 203.4 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3258, allocations: 23.64 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3259, allocations: 87.62 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.326, allocations: 71.61 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.3261, allocations: 15.94 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3262, allocations: 55.97 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.3262, allocations: 35.84 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.3263, allocations: 59.67 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.3266, allocations: 203.2 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3266, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3266, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3266, allocations: 0 / 0.5647 GB, free: 15.93 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008941/0.3275, allocations: 0.5004 MB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3276, allocations: 8.031 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.3276, allocations: 38.75 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.3277, allocations: 16.84 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.328, allocations: 190 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.328, allocations: 4.375 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.328, allocations: 12.38 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.3284, allocations: 184.2 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3284, allocations: 3.984 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3285, allocations: 0 / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3285, allocations: 4 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.3289, allocations: 115.8 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.3295, allocations: 0.5077 MB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.3302, allocations: 154.5 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.3304, allocations: 80.78 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3304, allocations: 3.938 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.3308, allocations: 157 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3308, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008463/0.3317, allocations: 265.3 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3317, allocations: 51.41 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.332, allocations: 246.1 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.332, allocations: 29.7 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.3321, allocations: 128.4 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.3321, allocations: 43.67 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.3322, allocations: 33.7 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3323, allocations: 334.8 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.3326, allocations: 97.64 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.3329, allocations: 133.9 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.3334, allocations: 193.8 kB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3334, allocations: 0 / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006588/0.334, allocations: 296.1 kB / 0.5684 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.3341, allocations: 33.7 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3341, allocations: 0 / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3341, allocations: 4 kB / 0.5684 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.3343, allocations: 35.95 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3343, allocations: 3.938 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.3344, allocations: 39.8 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3345, allocations: 4 kB / 0.5685 GB, free: 11.74 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.0001243/0.3346, allocations: 137.9 kB / 0.5686 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3346, allocations: 19.91 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.3352, allocations: 222.9 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3352, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.3352, allocations: 3.938 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3352, allocations: 3.984 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.3354, allocations: 192.7 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3354, allocations: 0 / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3356, allocations: 27.97 kB / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3356, allocations: 0 / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3356, allocations: 7.938 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3356, allocations: 0 / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3356, allocations: 3.938 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.3365, allocations: 316.8 kB / 0.5694 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.3365, allocations: 19.83 kB / 0.5694 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.3365, allocations: 8 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3367, allocations: 23.91 kB / 0.5694 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.3367, allocations: 27.89 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3368, allocations: 8 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.3369, allocations: 180.5 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3369, allocations: 0 / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3372, allocations: 35.98 kB / 0.5697 GB, free: 10.44 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 (13): * Single equations (assignments): 9 * 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.002578/0.3398, allocations: 1.176 MB / 0.5708 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.3404, allocations: 244.9 kB / 0.5711 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3404, allocations: 4 kB / 0.5711 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.3406, allocations: 72.12 kB / 0.5711 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.341, allocations: 59.14 kB / 0.5712 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.3442, allocations: 2.301 MB / 0.5734 GB, free: 6.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3443, allocations: 120.1 kB / 0.5736 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.21e-05/0.3444, allocations: 21.47 kB / 0.5736 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3445, allocations: 55.41 kB / 0.5736 GB, free: 6.359 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3445, allocations: 4 kB / 0.5736 GB, free: 6.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.3793, allocations: 5.885 MB / 0.5794 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 2.953 kB / 0.5794 GB, free: 0.5078 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.995603780262172] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.033791426569223 12.057152824 11.727303809 Calling exit ...