Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.00174/0.00174, 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.002177/0.002177, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2403/0.2403, allocations: 46.94 MB / 361.7 MB, free: 4.336 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 63.91 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4215, allocations: 66.04 MB / 0.5615 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004182/0.4257, allocations: 1.744 MB / 0.5632 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.4278, allocations: 1.049 MB / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.4279, allocations: 0 / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.4282, allocations: 43.77 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.4285, allocations: 95.59 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.4287, allocations: 75.69 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.4289, allocations: 111.6 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.429, allocations: 5.969 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4291, allocations: 51.78 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.4292, allocations: 31.84 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.4292, allocations: 4 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4293, allocations: 43.92 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.4294, allocations: 19.92 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.4294, allocations: 35.73 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.4297, allocations: 119.5 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4297, allocations: 0 / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4297, allocations: 0 / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4297, allocations: 0 / 0.5648 GB, free: 0.9844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005745/0.4303, allocations: 349.5 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4303, allocations: 8.031 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.4303, allocations: 8.188 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.4304, allocations: 30.75 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.4304, allocations: 16.84 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.4307, allocations: 154.2 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4307, allocations: 4.125 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4308, allocations: 4 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4309, allocations: 57.67 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4309, allocations: 0 / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4309, allocations: 0 / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4309, allocations: 3.984 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.431, allocations: 19.98 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.4314, allocations: 255.9 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4316, allocations: 66.61 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.4317, allocations: 20.84 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4317, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.4319, allocations: 67.38 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4319, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.4324, allocations: 185.3 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.4325, allocations: 59.41 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.4327, allocations: 183.2 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4327, allocations: 29.7 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.4328, allocations: 100.1 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.4328, allocations: 27.78 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.4328, allocations: 25.72 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.433, allocations: 322.8 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.4331, allocations: 27.98 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.4331, allocations: 37.7 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.4333, allocations: 49.72 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4333, allocations: 0 / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.4335, allocations: 109.5 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4335, allocations: 10.5 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4335, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4335, allocations: 4.031 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/0.4336, allocations: 19.98 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4336, allocations: 3.938 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.4336, allocations: 4.312 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4336, allocations: 4 kB / 0.567 GB, free: 14.55 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 (10): * Single equations (assignments): 10 * 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.0001189/0.4338, allocations: 125.8 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.4338, allocations: 7.953 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.434, allocations: 119 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.434, allocations: 7.984 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4341, allocations: 3.938 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4341, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.4345, allocations: 362.4 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4345, allocations: 0 / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.4345, allocations: 11.94 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.4346, allocations: 3.938 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4346, allocations: 192 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4346, allocations: 4.031 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4346, allocations: 11.92 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4348, allocations: 196.7 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.4348, allocations: 15.84 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4349, allocations: 3.938 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.4349, allocations: 4 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.435, allocations: 11.98 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.435, allocations: 4 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.4351, allocations: 145.8 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4351, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.4354, allocations: 23.94 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002199/0.4376, allocations: 1.084 MB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4378, allocations: 51.92 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4378, allocations: 4.062 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.4379, allocations: 31.92 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.4382, allocations: 23.92 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4406, allocations: 1.65 MB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.441, allocations: 0.708 MB / 0.5715 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.441, allocations: 17.27 kB / 0.5715 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.4411, allocations: 39.36 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4411, allocations: 4 kB / 0.5715 GB, free: 9.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.4708, allocations: 3.607 MB / 0.5751 GB, free: 6.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.57, allocations: 0 / 0.5751 GB, free: 6.324 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.668373976019211] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.791190210031345 11.820982332 11.38582775 Calling exit ...