Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001842/0.001842, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.002127/0.002127, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.544/1.544, 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.2582/0.2582, allocations: 46.96 MB / 361.7 MB, free: 4.012 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00305/0.00305, allocations: 67.89 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3921, allocations: 66.03 MB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003888/0.396, allocations: 1.705 MB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.3981, allocations: 0.9676 MB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3982, allocations: 7.938 kB / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.3986, allocations: 43.81 kB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.399, allocations: 103.5 kB / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3992, allocations: 75.69 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.3994, allocations: 103.7 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3996, allocations: 9.766 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.3996, allocations: 43.78 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.3997, allocations: 39.78 kB / 0.5644 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3998, allocations: 4 kB / 0.5644 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3999, allocations: 39.98 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.3999, allocations: 19.92 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.4, allocations: 27.8 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.4003, allocations: 127.5 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4003, allocations: 0 / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4003, allocations: 3.938 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4003, allocations: 0 / 0.5647 GB, free: 0.7344 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.0005872/0.4009, allocations: 353.5 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4009, allocations: 8.031 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.4009, allocations: 4.188 kB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.401, allocations: 30.75 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.401, allocations: 8.891 kB / 0.565 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4013, allocations: 151 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4013, allocations: 8.125 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4014, allocations: 4 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4015, allocations: 57.66 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4015, allocations: 0 / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4016, allocations: 4 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4016, allocations: 0 / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.978e-05/0.4017, allocations: 23.92 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.4021, allocations: 259.9 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.4023, allocations: 62.61 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.4024, allocations: 20.86 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4024, allocations: 3.984 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.4026, allocations: 75.31 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4026, allocations: 0 / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006512/0.4032, allocations: 181.3 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.4033, allocations: 55.41 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4035, allocations: 202.2 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4035, allocations: 29.7 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.4036, allocations: 108.1 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4036, allocations: 31.78 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.4037, allocations: 21.72 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4038, allocations: 326.8 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.4039, allocations: 19.98 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.404, allocations: 33.7 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4041, allocations: 65.64 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4041, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002122/0.4043, allocations: 114 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4044, allocations: 4 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4044, allocations: 4.031 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.4044, allocations: 7.984 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4045, allocations: 16 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4045, allocations: 3.938 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.4046, allocations: 4 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4046, allocations: 0 / 0.5669 GB, free: 14.27 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.0001248/0.4047, allocations: 129.8 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.4047, allocations: 11.91 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.405, allocations: 119 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.405, allocations: 8 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.405, allocations: 3.938 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.405, allocations: 4.266 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.4055, allocations: 370.4 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4055, allocations: 0 / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.4056, allocations: 15.88 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4056, allocations: 3.938 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4056, allocations: 4 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4056, allocations: 0 / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4056, allocations: 0 / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4059, allocations: 224.2 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.4059, allocations: 11.89 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4059, allocations: 4 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.406, allocations: 0 / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4061, allocations: 11.98 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.4061, allocations: 4 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.4062, allocations: 148.2 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4062, allocations: 7.938 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.4065, allocations: 27.92 kB / 0.5679 GB, free: 13.09 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.002392/0.4089, allocations: 1.136 MB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.4091, allocations: 59.91 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4091, allocations: 0 / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.4092, allocations: 35.98 kB / 0.5691 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.0003736/0.4096, allocations: 28.28 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.4117, allocations: 1.683 MB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.364e-05/0.4117, allocations: 88.19 kB / 0.5709 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.4118, allocations: 21.03 kB / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/0.4119, allocations: 39.42 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4119, allocations: 0 / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.4369, allocations: 3.813 MB / 0.5746 GB, free: 6.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 4.062 kB / 0.5747 GB, free: 6.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.963574166060425] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.966610779054463 11.981591049 11.578183305 Calling exit ...