Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001643/0.001643, allocations: 105.1 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.002021/0.002021, allocations: 211.9 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2412/0.2412, allocations: 46.96 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 59.89 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4084, allocations: 66.03 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003763/0.4121, allocations: 1.709 MB / 0.5631 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.4141, allocations: 0.9715 MB / 0.564 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.4142, allocations: 3.938 kB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.4146, allocations: 35.83 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.4149, allocations: 95.55 kB / 0.5642 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.4151, allocations: 79.67 kB / 0.5642 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.4153, allocations: 107.7 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.4155, allocations: 5.828 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.554e-05/0.4156, allocations: 47.8 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.4157, allocations: 39.77 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4157, allocations: 7.938 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.4158, allocations: 39.98 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.4158, allocations: 19.92 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.4159, allocations: 23.81 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.4162, allocations: 123.5 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4162, allocations: 0 / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4162, allocations: 0 / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4162, allocations: 0 / 0.5646 GB, free: 0.9219 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.0005883/0.4168, allocations: 349.5 kB / 0.565 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4168, allocations: 12.03 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.368e-05/0.4168, allocations: 192 / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.4169, allocations: 34.73 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.4169, allocations: 16.84 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.4172, allocations: 146.3 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.4172, allocations: 12.06 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4173, allocations: 0 / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4174, allocations: 53.67 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4174, allocations: 4 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4174, allocations: 0 / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4174, allocations: 4 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.4175, allocations: 23.92 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4179, allocations: 252 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4181, allocations: 58.67 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.4182, allocations: 20.84 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.4182, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.4184, allocations: 79.31 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.316e-06/0.4184, allocations: 3.984 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006018/0.419, allocations: 193.3 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.419, allocations: 55.41 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.4192, allocations: 187.2 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.4193, allocations: 29.7 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.4193, allocations: 104.1 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4194, allocations: 19.86 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.4194, allocations: 25.64 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4195, allocations: 322.8 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.4196, allocations: 23.98 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.4197, allocations: 41.7 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.4198, allocations: 61.66 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4198, allocations: 0 / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.42, allocations: 109.6 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.42, allocations: 7.938 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.42, allocations: 0 / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4201, allocations: 0 / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.4202, allocations: 19.98 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.4202, allocations: 3.938 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.4202, allocations: 7.969 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4202, allocations: 4 kB / 0.5668 GB, free: 14.47 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.0001087/0.4203, allocations: 125.8 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.4203, allocations: 11.95 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.4206, allocations: 123 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4206, allocations: 3.938 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4206, allocations: 3.938 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4206, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.4212, allocations: 366.4 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4212, allocations: 4.031 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.4212, allocations: 15.92 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4212, allocations: 3.938 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4212, allocations: 8 kB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4212, allocations: 0 / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4212, allocations: 0 / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.4215, allocations: 216.5 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.4215, allocations: 15.88 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.4216, allocations: 4.375 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4216, allocations: 4 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4217, allocations: 11.98 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.4217, allocations: 8 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.4218, allocations: 145.8 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4218, allocations: 0 / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.4221, allocations: 20 kB / 0.5679 GB, free: 13.31 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.002303/0.4244, allocations: 1.142 MB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4246, allocations: 55.92 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4246, allocations: 0 / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4247, allocations: 31.92 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.4251, allocations: 35.47 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.427, allocations: 1.651 MB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.4271, allocations: 92.17 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.4272, allocations: 9.297 kB / 0.5708 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.4273, allocations: 35.42 kB / 0.5708 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4273, allocations: 0 / 0.5708 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.4513, allocations: 3.753 MB / 0.5745 GB, free: 6.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 10.72 kB / 0.5745 GB, free: 6.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.038060872000642] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.101885217009112 12.117301411 11.69798659 Calling exit ...