Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001397/0.001397, allocations: 107.5 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.001456/0.001456, allocations: 212.3 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2669/0.2669, allocations: 46.97 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.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 72.14 kB / 0.4969 GB, free: 7.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3965, allocations: 66.03 MB / 0.5614 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003333/0.3999, allocations: 1.713 MB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.4017, allocations: 0.9714 MB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.4017, allocations: 0 / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.4021, allocations: 43.77 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.4024, allocations: 95.61 kB / 0.5642 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.4026, allocations: 83.66 kB / 0.5643 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.4028, allocations: 107.6 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4029, allocations: 5.969 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.403, allocations: 47.78 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.4031, allocations: 31.84 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.4031, allocations: 4 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4033, allocations: 43.97 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.4033, allocations: 23.92 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.4034, allocations: 23.81 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.4036, allocations: 131.4 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4036, allocations: 3.938 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4036, allocations: 0 / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4036, allocations: 0 / 0.5647 GB, free: 0.8438 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.0006478/0.4043, allocations: 345.6 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4043, allocations: 8.031 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.336e-05/0.4043, allocations: 4.188 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.4044, allocations: 30.75 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.4044, allocations: 12.89 kB / 0.565 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.4047, allocations: 155 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4047, allocations: 4.125 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.4048, allocations: 7.938 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4049, allocations: 53.67 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4049, allocations: 0 / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4049, allocations: 4 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.405, allocations: 4 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.512e-05/0.405, allocations: 23.97 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.4055, allocations: 255.9 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4057, allocations: 58.62 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.4058, allocations: 24.84 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.4058, allocations: 3.938 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.406, allocations: 67.39 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.406, allocations: 0 / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006181/0.4066, allocations: 189.6 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.4066, allocations: 55.41 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.4069, allocations: 202.2 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.4069, allocations: 37.64 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.407, allocations: 104.1 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.407, allocations: 23.8 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.407, allocations: 29.7 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4072, allocations: 322.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.4073, allocations: 24 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.4073, allocations: 41.69 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4075, allocations: 53.72 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4075, allocations: 0 / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/0.4077, allocations: 109.5 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4077, allocations: 8.031 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4077, allocations: 0 / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4077, allocations: 4 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4078, allocations: 15.98 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4079, allocations: 3.938 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.4079, allocations: 8 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4079, allocations: 0 / 0.5669 GB, free: 14.39 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.0001423/0.4081, allocations: 129.8 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.4081, allocations: 15.89 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.4084, allocations: 127 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4084, allocations: 4 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4084, allocations: 3.938 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4084, allocations: 0 / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.409, allocations: 366.4 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.409, allocations: 288 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.409, allocations: 11.98 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.409, allocations: 3.938 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4091, allocations: 7.938 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4091, allocations: 0 / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4091, allocations: 4.031 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.4094, allocations: 216.2 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.4094, allocations: 15.88 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4094, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4095, allocations: 8 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.4095, allocations: 7.984 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.4096, allocations: 4 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.4097, allocations: 152.2 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4097, allocations: 0 / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.41, allocations: 27.94 kB / 0.5679 GB, free: 13.21 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.002641/0.4126, allocations: 1.149 MB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.4129, allocations: 63.89 kB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4129, allocations: 12 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.413, allocations: 23.98 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4134, allocations: 26.48 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.4155, allocations: 1.677 MB / 0.5708 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.674e-05/0.4155, allocations: 92.19 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.4156, allocations: 17.34 kB / 0.5709 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.4157, allocations: 35.42 kB / 0.5709 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4157, allocations: 0 / 0.5709 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.4397, allocations: 3.803 MB / 0.5746 GB, free: 6.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 14.48 kB / 0.5747 GB, free: 6.465 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.924241533037275] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.989624948007986 12.01371921 11.605547143 Calling exit ...