Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 118.9 kB / 18.46 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 214.5 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.4 MB / 251.7 MB, free: 44 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2241/0.2241, allocations: 46.16 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003278/0.003278, allocations: 79.56 kB / 489.7 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1456, allocations: 62.45 MB / 0.5392 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00361/0.1492, allocations: 1.972 MB / 0.5412 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1515, allocations: 1.192 MB / 0.5423 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1517, allocations: 0 / 0.5423 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007394/0.1525, allocations: 203 kB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005506/0.153, allocations: 199.3 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.1535, allocations: 163.5 kB / 0.5429 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1539, allocations: 267.2 kB / 0.5431 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.154, allocations: 32.28 kB / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1542, allocations: 111.5 kB / 0.5433 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1543, allocations: 115.5 kB / 0.5434 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1544, allocations: 8 kB / 0.5434 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1545, allocations: 51.98 kB / 0.5434 GB, free: 400 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.1546, allocations: 55.77 kB / 0.5435 GB, free: 344 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1547, allocations: 95.41 kB / 0.5436 GB, free: 248 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1552, allocations: 251.2 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1552, allocations: 0 / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1552, allocations: 0 / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.1552, allocations: 4 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009862/0.1562, allocations: 0.5619 MB / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1562, allocations: 12.03 kB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1563, allocations: 38.75 kB / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.1564, allocations: 24.8 kB / 0.5444 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.1568, allocations: 295.7 kB / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1568, allocations: 8.375 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1569, allocations: 8.312 kB / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1571, allocations: 104.3 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1571, allocations: 4 kB / 0.5448 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1572, allocations: 3.938 kB / 0.5448 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1572, allocations: 4 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1573, allocations: 39.92 kB / 0.5449 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.1579, allocations: 377.6 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1582, allocations: 117.2 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1583, allocations: 49.69 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1583, allocations: 4.062 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1586, allocations: 117 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.1586, allocations: 0 / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004979/0.1591, allocations: 181.4 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.1592, allocations: 110.8 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.1596, allocations: 359.2 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1596, allocations: 29.7 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1597, allocations: 140.1 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1598, allocations: 35.8 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.1599, allocations: 29.7 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.16, allocations: 342.8 kB / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.1601, allocations: 27.98 kB / 0.5467 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1603, allocations: 85.06 kB / 0.5468 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1605, allocations: 95.89 kB / 0.5469 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1605, allocations: 4 kB / 0.5469 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000307/0.1608, allocations: 145.5 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1608, allocations: 8 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1609, allocations: 0 / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1609, allocations: 0 / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.161, allocations: 31.98 kB / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.161, allocations: 0 / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.1611, allocations: 15.95 kB / 0.5471 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1611, allocations: 4 kB / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000157/0.1613, allocations: 154.8 kB / 0.5472 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.1614, allocations: 35.8 kB / 0.5473 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.1614, allocations: 29.83 kB / 0.5473 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1614, allocations: 3.938 kB / 0.5473 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1615, allocations: 4 kB / 0.5473 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1615, allocations: 0 / 0.5473 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1617, allocations: 261.4 kB / 0.5475 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1617, allocations: 0 / 0.5475 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.1618, allocations: 8 kB / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1618, allocations: 0 / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1618, allocations: 4 kB / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1618, allocations: 0 / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1618, allocations: 0 / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1622, allocations: 201.6 kB / 0.5478 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.1623, allocations: 96.97 kB / 0.5478 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1623, allocations: 8 kB / 0.5479 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1624, allocations: 11.98 kB / 0.5479 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.1624, allocations: 7.984 kB / 0.5479 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1625, allocations: 4 kB / 0.5479 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.1628, allocations: 261.9 kB / 0.5481 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1628, allocations: 4 kB / 0.5481 GB, free: 11.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.163, allocations: 39.88 kB / 0.5482 GB, free: 11.11 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002056/0.1651, allocations: 1.016 MB / 0.5492 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.1655, allocations: 95.89 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1655, allocations: 0 / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1656, allocations: 43.98 kB / 0.5493 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.166, allocations: 72.05 kB / 0.5494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.1691, allocations: 2.355 MB / 0.5517 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1696, allocations: 0.7519 MB / 0.5524 GB, free: 6.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1697, allocations: 37.91 kB / 0.5524 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1698, allocations: 71.41 kB / 0.5525 GB, free: 6.664 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1698, allocations: 0 / 0.5525 GB, free: 6.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.1995, allocations: 5.79 MB / 0.5582 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.52, allocations: 1.562 kB / 0.5582 GB, free: 0.9844 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.640173058025539] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'booleanTable.y', 'booleanTable.combiTimeTable.y[1]', 'booleanTable.realToBoolean.y'] 8.645118993939832 8.666845999 8.507604916 Calling exit ...