Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001548/0.001548, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.00271/0.00271, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3787/0.3787, allocations: 44.23 MB / 327.3 MB, free: 6.691 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 80.41 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.352, allocations: 61 MB / 0.5117 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002918/0.3549, allocations: 1.701 MB / 0.5134 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.356, allocations: 0.8224 MB / 0.5142 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.3561, allocations: 0 / 0.5142 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.3564, allocations: 49.56 kB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.3566, allocations: 71.53 kB / 0.5143 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.3569, allocations: 82.2 kB / 0.5144 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3571, allocations: 94.31 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.3572, allocations: 15.83 kB / 0.5145 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.3573, allocations: 40.23 kB / 0.5145 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.3573, allocations: 38.41 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3574, allocations: 2.875 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.3575, allocations: 39.7 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.3575, allocations: 27.69 kB / 0.5146 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.3576, allocations: 47.17 kB / 0.5147 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3578, allocations: 130.7 kB / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3578, allocations: 0 / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3578, allocations: 0 / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3578, allocations: 0 / 0.5148 GB, free: 10.75 MB / 382.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.0005359/0.3583, allocations: 446.3 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3584, allocations: 13.33 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.3584, allocations: 1.75 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.043e-05/0.3584, allocations: 36.22 kB / 0.5153 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.3585, allocations: 14.84 kB / 0.5153 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3587, allocations: 226.4 kB / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3587, allocations: 5.375 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3588, allocations: 1.406 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3589, allocations: 53.92 kB / 0.5156 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3589, allocations: 9.469 kB / 0.5156 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3589, allocations: 0 / 0.5156 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.3589, allocations: 1.469 kB / 0.5156 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.359, allocations: 25.89 kB / 0.5156 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.3593, allocations: 290.6 kB / 0.5159 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3595, allocations: 51.89 kB / 0.5159 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.3595, allocations: 17.77 kB / 0.5159 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3595, allocations: 3.938 kB / 0.5159 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.3597, allocations: 74.78 kB / 0.516 GB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.3597, allocations: 0 / 0.516 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005508/0.3602, allocations: 183 kB / 0.5162 GB, free: 9.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3602, allocations: 52.78 kB / 0.5162 GB, free: 9.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.3604, allocations: 266.6 kB / 0.5165 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3605, allocations: 27.08 kB / 0.5165 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.3605, allocations: 115 kB / 0.5166 GB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.3606, allocations: 31.89 kB / 0.5167 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3606, allocations: 24.59 kB / 0.5167 GB, free: 8.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.3607, allocations: 326.9 kB / 0.517 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.3607, allocations: 19.38 kB / 0.517 GB, free: 8.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.3608, allocations: 35.45 kB / 0.517 GB, free: 8.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.3609, allocations: 67.77 kB / 0.5171 GB, free: 8.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3609, allocations: 4 kB / 0.5171 GB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.3611, allocations: 104.1 kB / 0.5172 GB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3611, allocations: 9.484 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3611, allocations: 1.375 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3611, allocations: 1.375 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.3612, allocations: 12.38 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3612, allocations: 5.312 kB / 0.5172 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.3612, allocations: 1.375 kB / 0.5172 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3612, allocations: 14.77 kB / 0.5173 GB, free: 8.461 MB / 382.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 8.409e-05/0.3613, allocations: 141.9 kB / 0.5174 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3614, allocations: 14.56 kB / 0.5174 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3614, allocations: 16.09 kB / 0.5174 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3614, allocations: 1.875 kB / 0.5174 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3614, allocations: 3.938 kB / 0.5174 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3614, allocations: 3.984 kB / 0.5174 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.3618, allocations: 403.8 kB / 0.5178 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3618, allocations: 0 / 0.5178 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.3618, allocations: 16.42 kB / 0.5178 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3618, allocations: 5.156 kB / 0.5178 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3618, allocations: 4.781 kB / 0.5178 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3618, allocations: 0.9062 kB / 0.5178 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3618, allocations: 1 kB / 0.5178 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.362, allocations: 201.9 kB / 0.518 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.362, allocations: 96.77 kB / 0.5181 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.3621, allocations: 2.625 kB / 0.5181 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.3621, allocations: 5.266 kB / 0.5181 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3622, allocations: 7.406 kB / 0.5181 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3622, allocations: 4.125 kB / 0.5181 GB, free: 7.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3624, allocations: 200 kB / 0.5183 GB, free: 7.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 0 / 0.5183 GB, free: 7.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.3627, allocations: 21.53 kB / 0.5184 GB, free: 7.484 MB / 382.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.002098/0.3648, allocations: 1.121 MB / 0.5194 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.365, allocations: 55.89 kB / 0.5195 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.365, allocations: 0 / 0.5195 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.3651, allocations: 28.17 kB / 0.5195 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3655, allocations: 28.38 kB / 0.5196 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3674, allocations: 1.811 MB / 0.5213 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.3676, allocations: 0.7119 MB / 0.522 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.3676, allocations: 21.17 kB / 0.522 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.3677, allocations: 43.42 kB / 0.5221 GB, free: 3.863 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3677, allocations: 0 / 0.5221 GB, free: 3.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.3866, allocations: 3.759 MB / 0.5258 GB, free: 40 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.735, allocations: 13.8 kB / 0.5258 GB, free: 28 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.126197471981868] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.929485080996528 8.956078601 8.593470748 Calling exit ...