Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001316/0.001316, 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.001404/0.001404, 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2358/0.2358, allocations: 46.94 MB / 361.7 MB, free: 4.246 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.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 59.89 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3894, allocations: 66.04 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003273/0.3926, allocations: 1.748 MB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3944, allocations: 1.049 MB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.3945, allocations: 3.938 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3948, allocations: 43.72 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3951, allocations: 95.59 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.3953, allocations: 83.66 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3955, allocations: 99.7 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3956, allocations: 9.953 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3957, allocations: 51.72 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.3958, allocations: 31.84 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3959, allocations: 8 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.396, allocations: 43.97 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.396, allocations: 15.94 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.3961, allocations: 35.73 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3963, allocations: 123.4 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3963, allocations: 0 / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3963, allocations: 0 / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3963, allocations: 0 / 0.5648 GB, free: 1.012 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.0005642/0.3969, allocations: 337.6 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3969, allocations: 15.97 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.397, allocations: 4.188 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.397, allocations: 38.69 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.397, allocations: 12.84 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3973, allocations: 154.3 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3973, allocations: 8.062 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3974, allocations: 4 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3975, allocations: 53.67 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3975, allocations: 7.984 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3975, allocations: 0 / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3975, allocations: 0 / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.3976, allocations: 19.98 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.398, allocations: 252 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3981, allocations: 58.62 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.3982, allocations: 24.84 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3982, allocations: 0 / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3984, allocations: 67.39 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3984, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.3989, allocations: 181.3 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3989, allocations: 59.41 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3991, allocations: 183.2 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3991, allocations: 33.69 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.3992, allocations: 96.14 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3992, allocations: 27.78 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.3993, allocations: 21.72 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3994, allocations: 322.8 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.3995, allocations: 27.92 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.3996, allocations: 41.7 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3997, allocations: 53.7 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3997, allocations: 0 / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3999, allocations: 101.5 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3999, allocations: 8 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3999, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3999, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.4, allocations: 19.92 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4, allocations: 11.97 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.4, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4, allocations: 4 kB / 0.567 GB, free: 14.6 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.0001081/0.4002, allocations: 130 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.4002, allocations: 7.953 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.4005, allocations: 131.1 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4005, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4005, allocations: 3.938 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4005, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.401, allocations: 362.4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.401, allocations: 0 / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.401, allocations: 11.94 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.401, allocations: 3.938 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4011, allocations: 3.984 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4011, allocations: 4 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4011, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.4013, allocations: 200.4 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.4013, allocations: 15.84 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.4014, allocations: 384 / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.4014, allocations: 4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.4015, allocations: 11.98 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4015, allocations: 4 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.4016, allocations: 145.8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4016, allocations: 3.938 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.4019, allocations: 23.94 kB / 0.568 GB, free: 13.45 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.002197/0.4041, allocations: 1.078 MB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4043, allocations: 55.91 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4043, allocations: 0 / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.4043, allocations: 31.92 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4047, allocations: 39.38 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.4067, allocations: 1.646 MB / 0.5708 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4071, allocations: 0.708 MB / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.983e-05/0.4071, allocations: 8.984 kB / 0.5715 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.4072, allocations: 35.42 kB / 0.5715 GB, free: 9.891 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4072, allocations: 0 / 0.5715 GB, free: 9.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.4318, allocations: 3.601 MB / 0.575 GB, free: 6.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 2.75 kB / 0.575 GB, free: 6.367 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.546249556995463] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.76645577698946 11.782584925 11.382909228 Calling exit ...