Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001217/0.001217, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00136/0.00136, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2662/0.2662, allocations: 46.94 MB / 361.7 MB, free: 4.352 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 59.91 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.388, allocations: 66.04 MB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003514/0.3915, allocations: 1.737 MB / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.3936, allocations: 1.049 MB / 0.5642 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3937, allocations: 7.938 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.3941, allocations: 35.77 kB / 0.5643 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.3945, allocations: 95.59 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.3948, allocations: 79.67 kB / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.395, allocations: 115.6 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.3952, allocations: 5.828 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3953, allocations: 39.8 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3954, allocations: 43.83 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3954, allocations: 4 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3956, allocations: 39.98 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.3957, allocations: 27.8 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.3957, allocations: 31.8 kB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.396, allocations: 123.4 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.396, allocations: 0 / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.396, allocations: 0 / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.396, allocations: 0 / 0.5648 GB, free: 0.9883 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.0008067/0.3969, allocations: 349.6 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.3969, allocations: 8.031 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.825e-05/0.3969, allocations: 4.188 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.397, allocations: 34.73 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.397, allocations: 8.891 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.3975, allocations: 162.9 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3975, allocations: 8.125 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3975, allocations: 4 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3977, allocations: 53.67 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3977, allocations: 0 / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3978, allocations: 7.938 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3978, allocations: 4 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.3979, allocations: 15.98 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3984, allocations: 259.9 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3986, allocations: 58.66 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.3987, allocations: 16.86 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.3987, allocations: 7.984 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.3989, allocations: 67.39 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.3989, allocations: 3.938 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007329/0.3997, allocations: 169.4 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.3997, allocations: 67.39 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.4, allocations: 198.2 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.4001, allocations: 29.7 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4002, allocations: 100.1 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4002, allocations: 31.77 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.4003, allocations: 17.72 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4004, allocations: 330.8 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.4005, allocations: 19.98 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.4006, allocations: 37.7 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.4007, allocations: 61.7 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4007, allocations: 3.938 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.4009, allocations: 93.59 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4009, allocations: 8 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4009, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4009, allocations: 4.031 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.401, allocations: 23.92 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4011, allocations: 7.938 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.4011, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4011, allocations: 4 kB / 0.567 GB, free: 14.55 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.0001214/0.4012, allocations: 125.8 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4013, allocations: 15.91 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.4015, allocations: 115.1 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4015, allocations: 4 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4015, allocations: 3.938 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4015, allocations: 0 / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.4021, allocations: 366.3 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4021, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.4022, allocations: 11.98 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4022, allocations: 3.938 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4022, allocations: 8 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4022, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4022, allocations: 4.031 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4025, allocations: 200.3 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.4025, allocations: 16.27 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4025, allocations: 7.984 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.4026, allocations: 7.938 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.4026, allocations: 7.984 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4027, allocations: 8 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4028, allocations: 148.2 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4028, allocations: 0 / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.4031, allocations: 23.94 kB / 0.568 GB, free: 13.39 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 (8): * Single equations (assignments): 6 * 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.002381/0.4055, allocations: 1.097 MB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.4057, allocations: 59.89 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4057, allocations: 0 / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.4058, allocations: 35.97 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4061, allocations: 26.48 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.4082, allocations: 1.65 MB / 0.5708 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4086, allocations: 0.7119 MB / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.4087, allocations: 12.97 kB / 0.5716 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.4088, allocations: 35.42 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4088, allocations: 0 / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.4341, allocations: 3.666 MB / 0.5752 GB, free: 6.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 12.75 kB / 0.5752 GB, free: 6.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.759232060983777] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.907686908962205 11.925753862 11.525911192 Calling exit ...