Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001925/0.001925, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002444/0.002444, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.621/1.621, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2437/0.2437, allocations: 46.96 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.89 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3932, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00336/0.3966, allocations: 1.705 MB / 0.5631 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3983, allocations: 0.9715 MB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.3984, allocations: 0 / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.3987, allocations: 55.69 kB / 0.5641 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.3991, allocations: 99.59 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.3993, allocations: 79.67 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3995, allocations: 103.7 kB / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3996, allocations: 13.8 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.941e-05/0.3996, allocations: 43.8 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.3997, allocations: 39.78 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3997, allocations: 4 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.3998, allocations: 39.98 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.3999, allocations: 23.91 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.4, allocations: 39.67 kB / 0.5646 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4002, allocations: 131.4 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4002, allocations: 0 / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4002, allocations: 4 kB / 0.5647 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4002, allocations: 0 / 0.5647 GB, free: 0.8516 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.0005776/0.4008, allocations: 361.4 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4008, allocations: 12.03 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.4009, allocations: 4.188 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.4009, allocations: 30.75 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.4009, allocations: 12.89 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.4012, allocations: 155.1 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4012, allocations: 12.11 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4012, allocations: 4 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4014, allocations: 53.67 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4014, allocations: 0 / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.4014, allocations: 0 / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4014, allocations: 11.94 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.4015, allocations: 15.98 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.4019, allocations: 263.9 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4021, allocations: 58.61 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.4021, allocations: 20.84 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.4021, allocations: 0 / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.4023, allocations: 71.39 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4023, allocations: 0 / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006099/0.4029, allocations: 197.2 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.403, allocations: 55.41 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4032, allocations: 246.9 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.4033, allocations: 29.7 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.4033, allocations: 112.1 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4034, allocations: 19.86 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.4034, allocations: 29.7 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4035, allocations: 326.8 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.4036, allocations: 23.98 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.4037, allocations: 33.7 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4038, allocations: 69.69 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4038, allocations: 0 / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.404, allocations: 101.5 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.404, allocations: 4 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.404, allocations: 4 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.404, allocations: 0 / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.4041, allocations: 19.98 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4041, allocations: 3.938 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.4042, allocations: 15.91 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4042, allocations: 4 kB / 0.567 GB, free: 14.3 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.0001153/0.4043, allocations: 129.8 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.4043, allocations: 11.91 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.4046, allocations: 127.2 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.4046, allocations: 0 / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4046, allocations: 4.031 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4046, allocations: 7.938 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.4051, allocations: 374.6 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4051, allocations: 4.031 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.4051, allocations: 8 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4051, allocations: 7.938 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4052, allocations: 3.984 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4052, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4052, allocations: 4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.4054, allocations: 216.2 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.4055, allocations: 15.84 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4055, allocations: 4.359 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.4056, allocations: 15.92 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4056, allocations: 11.98 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4056, allocations: 4 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.4058, allocations: 179.2 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4058, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.406, allocations: 27.94 kB / 0.5681 GB, free: 13.08 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 (9): * Single equations (assignments): 7 * 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.002315/0.4084, allocations: 1.141 MB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.4086, allocations: 59.92 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4086, allocations: 0 / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.4087, allocations: 23.98 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4091, allocations: 35.38 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.4114, allocations: 1.771 MB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.4115, allocations: 96.73 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.909e-05/0.4116, allocations: 17.27 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.4117, allocations: 43.42 kB / 0.5712 GB, free: 9.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4117, allocations: 0 / 0.5712 GB, free: 9.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.4357, allocations: 3.989 MB / 0.5751 GB, free: 6.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.82, allocations: 3.938 kB / 0.5751 GB, free: 6.062 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.111156505066901] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.043706783093512 12.071190321 11.665600285 Calling exit ...