Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001745/0.001745, 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.002069/0.002069, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.601/1.601, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2499/0.2499, allocations: 46.97 MB / 361.7 MB, free: 4.047 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.Test52,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.88 kB / 0.4969 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.393, allocations: 66.04 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003334/0.3963, allocations: 1.706 MB / 0.5631 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3981, allocations: 0.9715 MB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.3981, allocations: 0 / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.3985, allocations: 51.75 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.3988, allocations: 91.61 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.399, allocations: 87.66 kB / 0.5643 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3992, allocations: 107.6 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3993, allocations: 13.8 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.3994, allocations: 43.8 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.3995, allocations: 23.86 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3995, allocations: 4 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3996, allocations: 43.97 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.3997, allocations: 31.86 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3998, allocations: 27.8 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.4, allocations: 139.4 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4, allocations: 4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.4, allocations: 0 / 0.5647 GB, free: 0.8789 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.0006483/0.4007, allocations: 369.4 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4007, allocations: 8.031 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.304e-05/0.4007, allocations: 192 / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.4008, allocations: 34.75 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.4008, allocations: 12.83 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.4011, allocations: 151.2 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4011, allocations: 8.125 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4011, allocations: 0 / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4013, allocations: 69.59 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4013, allocations: 0 / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4013, allocations: 0 / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4013, allocations: 0 / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/0.4014, allocations: 23.92 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.4018, allocations: 267.9 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.4021, allocations: 58.61 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.4021, allocations: 24.84 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4021, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.4023, allocations: 71.39 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4023, allocations: 0 / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005942/0.4029, allocations: 181.3 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.403, allocations: 55.41 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4032, allocations: 250.9 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4032, allocations: 29.7 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.4033, allocations: 112.1 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.4033, allocations: 19.86 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.4034, allocations: 25.7 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4035, allocations: 326.8 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.4036, allocations: 27.92 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.4037, allocations: 37.7 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.4038, allocations: 53.8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4038, allocations: 4 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.404, allocations: 117.5 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.404, allocations: 4 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.404, allocations: 384 / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.404, allocations: 32 / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.4041, allocations: 23.98 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4041, allocations: 7.938 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4042, allocations: 3.938 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4042, allocations: 4 kB / 0.567 GB, free: 14.33 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.000111/0.4043, allocations: 133.8 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.4043, allocations: 16.09 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4046, allocations: 122.9 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4046, allocations: 4 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4046, allocations: 3.938 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4046, allocations: 7.984 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.4051, allocations: 374.4 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4051, allocations: 0 / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.4051, allocations: 8 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4051, allocations: 7.875 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4051, allocations: 8 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4051, allocations: 3.984 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4051, allocations: 3.984 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.4054, allocations: 212.2 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.4054, allocations: 19.88 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.4054, allocations: 8 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.4055, allocations: 3.984 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.4056, allocations: 4 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4056, allocations: 7.984 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.4057, allocations: 175.2 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4057, allocations: 0 / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.406, allocations: 23.98 kB / 0.5681 GB, free: 13.11 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.002286/0.4083, allocations: 1.144 MB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.4085, allocations: 55.97 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4085, allocations: 3.938 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.4086, allocations: 32.08 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4089, allocations: 44.83 kB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.411, allocations: 1.755 MB / 0.571 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4111, allocations: 100.7 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.4112, allocations: 16.97 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.4113, allocations: 43.42 kB / 0.5712 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4113, allocations: 3.938 kB / 0.5712 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.434, allocations: 3.974 MB / 0.5751 GB, free: 6.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 18.81 kB / 0.5751 GB, free: 6.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.99566458305344] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.964602452004328 11.98716973 11.582633679 Calling exit ...