Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.001278/0.001278, allocations: 109 kB / 20.48 MB, free: 1.492 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.001398/0.001398, allocations: 218.2 kB / 23.79 MB, free: 4.707 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.474/1.474, allocations: 207.6 MB / 234.6 MB, free: 9.988 MB / 190.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.2174/0.2174, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.002135/0.002135, allocations: 70.88 kB / 468.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1272, allocations: 61.05 MB / 0.517 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003767/0.131, allocations: 2.32 MB / 0.5192 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1333, allocations: 1.213 MB / 0.5204 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1334, allocations: 11.88 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.1341, allocations: 287 kB / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.1346, allocations: 270.9 kB / 0.521 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000844/0.1355, allocations: 335.3 kB / 0.5213 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.1361, allocations: 0.514 MB / 0.5218 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1363, allocations: 45.23 kB / 0.5218 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.1366, allocations: 255 kB / 0.5221 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.137, allocations: 286.9 kB / 0.5223 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.137, allocations: 16 kB / 0.5224 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.1372, allocations: 55.98 kB / 0.5224 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1373, allocations: 111.5 kB / 0.5225 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1375, allocations: 170.7 kB / 0.5227 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.1381, allocations: 398 kB / 0.5231 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1381, allocations: 0 / 0.5231 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1381, allocations: 4 kB / 0.5231 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1381, allocations: 4 kB / 0.5231 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001143/0.1393, allocations: 0.6953 MB / 0.5238 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1393, allocations: 8.031 kB / 0.5238 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.445e-05/0.1393, allocations: 4.188 kB / 0.5238 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.1394, allocations: 50.73 kB / 0.5238 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.1395, allocations: 52.61 kB / 0.5239 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.1401, allocations: 353 kB / 0.5242 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.1401, allocations: 16.12 kB / 0.5242 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1401, allocations: 15.98 kB / 0.5242 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.1405, allocations: 194.8 kB / 0.5244 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.1406, allocations: 11.92 kB / 0.5244 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1406, allocations: 4 kB / 0.5244 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1406, allocations: 4 kB / 0.5244 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1408, allocations: 99.86 kB / 0.5245 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1419, allocations: 0.8167 MB / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.1426, allocations: 277.3 kB / 0.5256 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.1428, allocations: 88.25 kB / 0.5257 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.1428, allocations: 11.98 kB / 0.5257 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.1433, allocations: 231.4 kB / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.1433, allocations: 0 / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002244/0.1455, allocations: 1.006 MB / 0.5269 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.1456, allocations: 166.2 kB / 0.527 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.1464, allocations: 0.6121 MB / 0.5276 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.1464, allocations: 37.7 kB / 0.5277 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.1467, allocations: 225 kB / 0.5279 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.1469, allocations: 127 kB / 0.528 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.147, allocations: 70.14 kB / 0.5281 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1472, allocations: 366.8 kB / 0.5284 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.1474, allocations: 104.8 kB / 0.5285 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.1477, allocations: 184.8 kB / 0.5287 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.1482, allocations: 296.6 kB / 0.529 GB, free: 10.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1482, allocations: 3.938 kB / 0.529 GB, free: 10.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007365/0.149, allocations: 405 kB / 0.5294 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.149, allocations: 11.94 kB / 0.5294 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.149, allocations: 0 / 0.5294 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.149, allocations: 4 kB / 0.5294 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1493, allocations: 87.83 kB / 0.5295 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1493, allocations: 4 kB / 0.5295 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1495, allocations: 25.64 kB / 0.5295 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1495, allocations: 16 kB / 0.5295 GB, free: 9.992 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002296/0.1498, allocations: 216.2 kB / 0.5297 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1498, allocations: 55.62 kB / 0.5298 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1509, allocations: 453.6 kB / 0.5302 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1509, allocations: 8 kB / 0.5302 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1509, allocations: 4 kB / 0.5302 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1509, allocations: 0 / 0.5302 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.1527, allocations: 1.241 MB / 0.5314 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1527, allocations: 0 / 0.5314 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1529, allocations: 47.92 kB / 0.5315 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.1529, allocations: 7.938 kB / 0.5315 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.1529, allocations: 19.98 kB / 0.5315 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1529, allocations: 4 kB / 0.5315 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1529, allocations: 0 / 0.5315 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.154, allocations: 0.8247 MB / 0.5323 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.154, allocations: 55.55 kB / 0.5324 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.1541, allocations: 12 kB / 0.5324 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.1545, allocations: 23.97 kB / 0.5324 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.1545, allocations: 31.89 kB / 0.5324 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.1546, allocations: 23.98 kB / 0.5325 GB, free: 6.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006033/0.1552, allocations: 458.8 kB / 0.5329 GB, free: 6.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1552, allocations: 0 / 0.5329 GB, free: 6.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005922/0.1558, allocations: 83.92 kB / 0.533 GB, free: 6.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003177/0.159, allocations: 1.726 MB / 0.5347 GB, free: 4.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007095/0.1597, allocations: 275.9 kB / 0.5349 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1597, allocations: 4 kB / 0.5349 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.16, allocations: 128.7 kB / 0.5351 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.1611, allocations: 142.7 kB / 0.5352 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2224/0.3836, allocations: 4.403 MB / 0.5395 GB, free: 27.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3839, allocations: 0.8476 MB / 0.5403 GB, free: 26.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.3841, allocations: 79.34 kB / 0.5404 GB, free: 26.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.3843, allocations: 175.2 kB / 0.5406 GB, free: 26.44 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3843, allocations: 1.656 kB / 0.5406 GB, free: 26.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.4228, allocations: 10.95 MB / 0.5513 GB, free: 25.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 16.84 kB / 0.5513 GB, free: 25.15 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.560022021993063] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 12.7974647860392 12.808851453 12.668209705 Calling exit ...