Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.00167/0.00167, 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.002205/0.002205, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.517/1.517, 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.2562/0.2562, allocations: 46.96 MB / 361.7 MB, free: 4.02 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 64.14 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 66.02 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003582/0.4097, allocations: 1.726 MB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4116, allocations: 0.9705 MB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.4117, allocations: 4 kB / 0.5641 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.412, allocations: 87.69 kB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.4124, allocations: 119.5 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.4126, allocations: 87.59 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.4129, allocations: 111.8 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.413, allocations: 17.8 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.4131, allocations: 59.7 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.4132, allocations: 63.75 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.4132, allocations: 12 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4134, allocations: 59.97 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.4135, allocations: 31.84 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.4135, allocations: 27.81 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.4138, allocations: 143.4 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4138, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4138, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4138, allocations: 0 / 0.5648 GB, free: 0.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005972/0.4144, allocations: 369.3 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4144, allocations: 8.031 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.617e-05/0.4144, allocations: 8.188 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.4145, allocations: 34.75 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.4145, allocations: 12.84 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4148, allocations: 158.8 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4149, allocations: 12.12 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.4149, allocations: 8 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.4151, allocations: 57.75 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4151, allocations: 0 / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4151, allocations: 3.938 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4151, allocations: 0 / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.4152, allocations: 35.97 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.4156, allocations: 267.8 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.4159, allocations: 62.48 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.4159, allocations: 24.91 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.416, allocations: 0 / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.4161, allocations: 71.38 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4161, allocations: 0 / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008416/0.417, allocations: 257.7 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.417, allocations: 55.41 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4173, allocations: 223.6 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4173, allocations: 25.7 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.4174, allocations: 108.1 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.4174, allocations: 31.73 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.4175, allocations: 29.7 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4176, allocations: 330.8 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.4177, allocations: 27.98 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.4178, allocations: 53.39 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4179, allocations: 81.7 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4179, allocations: 0 / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002406/0.4182, allocations: 133.5 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4182, allocations: 4 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4182, allocations: 0 / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4182, allocations: 7.938 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.4183, allocations: 23.97 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4183, allocations: 240 / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.4184, allocations: 7.938 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4184, allocations: 16.02 kB / 0.5673 GB, free: 13.96 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 (13): * Single equations (assignments): 13 * 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.0001383/0.4185, allocations: 133.8 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4185, allocations: 15.91 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.4189, allocations: 159.1 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4189, allocations: 3.938 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4189, allocations: 0 / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4189, allocations: 3.984 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.4195, allocations: 423.1 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4195, allocations: 4.062 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.4195, allocations: 23.92 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4195, allocations: 4 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4196, allocations: 4 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4196, allocations: 4.094 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4196, allocations: 3.938 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.4199, allocations: 245 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.4199, allocations: 11.91 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4199, allocations: 4 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.42, allocations: 7.984 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.4201, allocations: 19.92 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4201, allocations: 4 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4202, allocations: 169.1 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4202, allocations: 0 / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.4205, allocations: 39.92 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002571/0.4231, allocations: 1.209 MB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4233, allocations: 79.84 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4233, allocations: 4.062 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.4234, allocations: 39.92 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.4238, allocations: 44.91 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.4261, allocations: 1.822 MB / 0.5716 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4262, allocations: 105.9 kB / 0.5717 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.368e-05/0.4263, allocations: 16.42 kB / 0.5717 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.4264, allocations: 51.41 kB / 0.5718 GB, free: 9.336 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4264, allocations: 0 / 0.5718 GB, free: 9.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.4521, allocations: 4.251 MB / 0.5759 GB, free: 5.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 11.92 kB / 0.576 GB, free: 5.156 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.080484121921472] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 12.105982950073667 12.121030714 11.704157951 Calling exit ...