Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001407/0.001407, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001443/0.001443, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.505/1.505, allocations: 230.6 MB / 258.3 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.2281/0.2281, allocations: 46.94 MB / 361.7 MB, free: 4.277 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.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.91 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 66.03 MB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003373/0.3363, allocations: 1.701 MB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3382, allocations: 1.022 MB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.3382, allocations: 0 / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.3386, allocations: 67.73 kB / 0.5642 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.339, allocations: 103.6 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3392, allocations: 75.67 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3395, allocations: 115.6 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.3395, allocations: 4.234 kB / 0.5645 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3396, allocations: 47.78 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3398, allocations: 55.69 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3398, allocations: 4 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3399, allocations: 24 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.34, allocations: 31.91 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.34, allocations: 31.8 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3403, allocations: 105.3 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3403, allocations: 0 / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3403, allocations: 0 / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3403, allocations: 0 / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000636/0.3409, allocations: 345.6 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.341, allocations: 8.031 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.861e-05/0.341, allocations: 192 / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.341, allocations: 34.75 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.3411, allocations: 20.84 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3414, allocations: 143.1 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3414, allocations: 4.125 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3414, allocations: 0 / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3416, allocations: 53.67 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3416, allocations: 3.938 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.3416, allocations: 0 / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3416, allocations: 0 / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.3417, allocations: 19.98 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3419, allocations: 156.7 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3421, allocations: 50.55 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.3421, allocations: 20.84 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3421, allocations: 3.984 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.3423, allocations: 79.31 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3423, allocations: 3.938 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003277/0.3426, allocations: 89.62 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.3427, allocations: 55.41 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3429, allocations: 194.3 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3429, allocations: 25.7 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.343, allocations: 104.1 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.343, allocations: 19.84 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.3431, allocations: 17.72 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3433, allocations: 322.8 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.3433, allocations: 19.92 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.3434, allocations: 29.7 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3435, allocations: 45.66 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3435, allocations: 7.938 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.3437, allocations: 85.52 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3437, allocations: 8 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3437, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3437, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3438, allocations: 8 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3438, allocations: 4 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.3438, allocations: 0 / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3438, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001262/0.344, allocations: 133.8 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.344, allocations: 11.89 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3442, allocations: 86.77 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3442, allocations: 3.984 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3442, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3442, allocations: 4 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3444, allocations: 160.6 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3444, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.3444, allocations: 4.375 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3444, allocations: 4 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3445, allocations: 3.984 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.3445, allocations: 4 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3445, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.3447, allocations: 117 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.3447, allocations: 7.953 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3447, allocations: 7.938 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.3447, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3448, allocations: 3.984 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3448, allocations: 4 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.3449, allocations: 148.2 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3449, allocations: 0 / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.3452, allocations: 19.94 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001913/0.3471, allocations: 0.9576 MB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3472, allocations: 31.98 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3472, allocations: 0 / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.3473, allocations: 23.92 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3476, allocations: 27.73 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3495, allocations: 1.514 MB / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3499, allocations: 0.704 MB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.35, allocations: 16.47 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.35, allocations: 27.42 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.35, allocations: 0 / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3728, allocations: 3.329 MB / 0.5738 GB, free: 7.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 19.19 kB / 0.5739 GB, free: 7.57 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.718141045013908] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.937078093993478 11.954928296 11.61150271 Calling exit ...