Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001333/0.001333, 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.001469/0.001469, allocations: 214.7 kB / 24.52 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.488/1.488, 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.2819/0.2819, allocations: 46.95 MB / 361.7 MB, free: 4.023 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.91 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4031, allocations: 66.03 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003552/0.4066, allocations: 1.714 MB / 0.5631 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.4085, allocations: 0.9637 MB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.4086, allocations: 0 / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.4089, allocations: 59.75 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.4093, allocations: 103.5 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.4095, allocations: 75.73 kB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4097, allocations: 107.6 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4098, allocations: 9.812 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.4099, allocations: 51.78 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.41, allocations: 31.8 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.41, allocations: 4 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4101, allocations: 43.97 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.4102, allocations: 31.84 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.4103, allocations: 39.69 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.4105, allocations: 139.4 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4105, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4105, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.4105, allocations: 0 / 0.5647 GB, free: 0.832 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.0005974/0.4111, allocations: 385.3 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4112, allocations: 11.97 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.392e-05/0.4112, allocations: 4.188 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.4112, allocations: 30.75 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.4113, allocations: 24.78 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.4116, allocations: 165.9 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4116, allocations: 8.125 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4116, allocations: 0 / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4118, allocations: 61.66 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4118, allocations: 0 / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4118, allocations: 8 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4118, allocations: 0 / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.4119, allocations: 19.98 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.4123, allocations: 271.9 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.4125, allocations: 46.69 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.4126, allocations: 20.84 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4126, allocations: 4 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.4128, allocations: 67.33 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4128, allocations: 0 / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006427/0.4134, allocations: 201.4 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4135, allocations: 63.34 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.4138, allocations: 279.9 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.4138, allocations: 37.69 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4139, allocations: 116.1 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.414, allocations: 23.84 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.414, allocations: 21.7 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4142, allocations: 330.8 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.4143, allocations: 24.17 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.4143, allocations: 41.7 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4145, allocations: 61.64 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4145, allocations: 0 / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.4147, allocations: 105.5 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4147, allocations: 8 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4147, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4147, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4148, allocations: 27.91 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.4149, allocations: 4.094 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.4149, allocations: 8.156 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4149, allocations: 11.98 kB / 0.5671 GB, free: 14.18 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.0001684/0.4151, allocations: 141.8 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.4151, allocations: 19.84 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.4154, allocations: 123 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4154, allocations: 0 / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4154, allocations: 7.938 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4154, allocations: 0 / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.4161, allocations: 386.4 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4161, allocations: 0 / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.4162, allocations: 12 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.4162, allocations: 3.938 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4162, allocations: 0 / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.4162, allocations: 7.984 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4162, allocations: 3.938 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.4166, allocations: 212.2 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.4167, allocations: 19.84 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.4167, allocations: 4 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4168, allocations: 7.922 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4169, allocations: 8.031 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.4169, allocations: 11.98 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.4172, allocations: 216.6 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4172, allocations: 0 / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000478/0.4177, allocations: 24 kB / 0.5682 GB, free: 12.9 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.003326/0.421, allocations: 1.152 MB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4214, allocations: 51.92 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4214, allocations: 0 / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.4215, allocations: 35.92 kB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.4221, allocations: 30.78 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.4257, allocations: 1.889 MB / 0.5713 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.4258, allocations: 105.1 kB / 0.5714 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.661e-05/0.4259, allocations: 12.97 kB / 0.5714 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.426, allocations: 47.42 kB / 0.5715 GB, free: 9.66 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.426, allocations: 4 kB / 0.5715 GB, free: 9.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.4563, allocations: 4.201 MB / 0.5756 GB, free: 5.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.83, allocations: 18.84 kB / 0.5756 GB, free: 5.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.02274121507071] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.07034312793985 12.095289067 11.67925593 Calling exit ...