Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.001868/0.001868, allocations: 123.6 kB / 18.46 MB, free: 4.578 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.00222/0.00222, allocations: 213.7 kB / 21.41 MB, free: 1.625 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.534/1.534, allocations: 227.4 MB / 251.7 MB, free: 52 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.2332/0.2332, allocations: 46.15 MB / 351.1 MB, free: 14.29 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.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",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.002325/0.002326, allocations: 80.61 kB / 489.7 MB, free: 28.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 62.46 MB / 0.5392 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003397/0.1304, allocations: 1.819 MB / 0.541 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.133, allocations: 1.697 MB / 0.5427 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.1332, allocations: 4 kB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1335, allocations: 55.62 kB / 0.5427 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.1339, allocations: 139.4 kB / 0.5429 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1342, allocations: 103.6 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1345, allocations: 207.4 kB / 0.5432 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.172e-05/0.1345, allocations: 9.688 kB / 0.5432 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1347, allocations: 87.56 kB / 0.5433 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1349, allocations: 79.67 kB / 0.5433 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1349, allocations: 8 kB / 0.5433 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.1352, allocations: 115.9 kB / 0.5434 GB, free: 360 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.1352, allocations: 35.84 kB / 0.5435 GB, free: 324 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1353, allocations: 67.53 kB / 0.5435 GB, free: 256 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1357, allocations: 235.4 kB / 0.5438 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1357, allocations: 0 / 0.5438 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1357, allocations: 0 / 0.5438 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1357, allocations: 0 / 0.5438 GB, free: 20 kB / 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.0007736/0.1365, allocations: 0.498 MB / 0.5443 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1366, allocations: 8.031 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.1366, allocations: 42.69 kB / 0.5443 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.1367, allocations: 16.84 kB / 0.5443 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.1371, allocations: 261 kB / 0.5446 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1371, allocations: 4.375 kB / 0.5446 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1371, allocations: 384 / 0.5446 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.1374, allocations: 113.1 kB / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1374, allocations: 3.938 kB / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1374, allocations: 4 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1374, allocations: 4 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1376, allocations: 27.97 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.1378, allocations: 218.5 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1381, allocations: 109.2 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.1382, allocations: 37.7 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1383, allocations: 3.984 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.1385, allocations: 113 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.306e-06/0.1385, allocations: 0 / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004683/0.139, allocations: 177.4 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.1391, allocations: 128.5 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.1394, allocations: 241 kB / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1394, allocations: 33.7 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.1395, allocations: 116.1 kB / 0.5458 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.1395, allocations: 27.75 kB / 0.5459 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.1396, allocations: 29.7 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1397, allocations: 334.8 kB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.1398, allocations: 23.98 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.14, allocations: 73.14 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.1402, allocations: 87.84 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1402, allocations: 4 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.1405, allocations: 141.4 kB / 0.5465 GB, free: 12.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1405, allocations: 8.094 kB / 0.5465 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1405, allocations: 0 / 0.5465 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1405, allocations: 4 kB / 0.5465 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1406, allocations: 19.98 kB / 0.5466 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.655e-05/0.1407, allocations: 4 kB / 0.5466 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.1408, allocations: 11.95 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1408, allocations: 4 kB / 0.5466 GB, free: 12.82 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000143/0.1409, allocations: 137.7 kB / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.141, allocations: 23.84 kB / 0.5467 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.141, allocations: 24.97 kB / 0.5468 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.141, allocations: 4 kB / 0.5468 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1411, allocations: 0 / 0.5468 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1411, allocations: 0 / 0.5468 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.1413, allocations: 233.4 kB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1413, allocations: 3.938 kB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1413, allocations: 8 kB / 0.547 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1413, allocations: 0 / 0.547 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1414, allocations: 4 kB / 0.547 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1414, allocations: 4 kB / 0.547 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1414, allocations: 4 kB / 0.547 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1417, allocations: 165.8 kB / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.1418, allocations: 92.95 kB / 0.5473 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.1418, allocations: 8 kB / 0.5473 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1419, allocations: 11.92 kB / 0.5473 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1419, allocations: 11.98 kB / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.142, allocations: 12.12 kB / 0.5473 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1422, allocations: 177.5 kB / 0.5475 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1422, allocations: 4 kB / 0.5475 GB, free: 11.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1425, allocations: 55.86 kB / 0.5475 GB, free: 11.75 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002279/0.1448, allocations: 1.097 MB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.1451, allocations: 83.89 kB / 0.5487 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1451, allocations: 0 / 0.5487 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1452, allocations: 35.92 kB / 0.5487 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1456, allocations: 66.83 kB / 0.5488 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.1479, allocations: 1.878 MB / 0.5506 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1482, allocations: 0.7242 MB / 0.5513 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1483, allocations: 38.02 kB / 0.5514 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1485, allocations: 59.41 kB / 0.5514 GB, free: 7.801 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1485, allocations: 0 / 0.5514 GB, free: 7.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.1766, allocations: 5.298 MB / 0.5566 GB, free: 2.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.346, allocations: 17.3 kB / 0.5566 GB, free: 2.559 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.415208922000602] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.464651725953445 8.478764539 8.340427522 Calling exit ...