Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.001241/0.001241, allocations: 122.1 kB / 18.46 MB, free: 4.586 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.001463/0.001463, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.496/1.496, allocations: 227.4 MB / 251.7 MB, free: 48 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.2324/0.2324, allocations: 46.15 MB / 351.1 MB, free: 14.31 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.Test60,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60",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.002275/0.002275, allocations: 76.3 kB / 489.7 MB, free: 28.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 62.46 MB / 0.5393 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003522/0.1384, allocations: 1.729 MB / 0.5409 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1412, allocations: 1.623 MB / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1413, allocations: 0 / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1417, allocations: 39.77 kB / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.1422, allocations: 107.5 kB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1424, allocations: 79.66 kB / 0.5427 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1426, allocations: 107.7 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1427, allocations: 16.27 kB / 0.5429 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1428, allocations: 51.77 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.143, allocations: 35.84 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1431, allocations: 8 kB / 0.543 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.1433, allocations: 111.9 kB / 0.5431 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1434, allocations: 19.91 kB / 0.5431 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.1434, allocations: 31.8 kB / 0.5431 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1438, allocations: 175.4 kB / 0.5433 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1438, allocations: 0 / 0.5433 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1438, allocations: 0 / 0.5433 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1438, allocations: 0 / 0.5433 GB, free: 0.5469 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.0006876/0.1445, allocations: 434.5 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1446, allocations: 8.031 kB / 0.5437 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.1446, allocations: 38.73 kB / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.1447, allocations: 16.84 kB / 0.5437 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1451, allocations: 211.9 kB / 0.544 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1451, allocations: 4.375 kB / 0.544 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1451, allocations: 3.938 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1453, allocations: 75.33 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1453, allocations: 0 / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1453, allocations: 0 / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1454, allocations: 8 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.1454, allocations: 15.98 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.1459, allocations: 288.8 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1461, allocations: 62.62 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.1461, allocations: 24.84 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1462, allocations: 4 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1463, allocations: 63.39 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1464, allocations: 0 / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006081/0.147, allocations: 169.4 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.1471, allocations: 77.11 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1473, allocations: 170.4 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1473, allocations: 29.7 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.1474, allocations: 100.1 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.1474, allocations: 31.73 kB / 0.545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1475, allocations: 25.7 kB / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003233/0.1478, allocations: 322.8 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.1479, allocations: 16 kB / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.148, allocations: 54.81 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1481, allocations: 57.7 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1481, allocations: 0 / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.1483, allocations: 105.6 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1483, allocations: 4 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1484, allocations: 0 / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1484, allocations: 4 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.1485, allocations: 12 kB / 0.5456 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1485, allocations: 4.062 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.1486, allocations: 15.92 kB / 0.5456 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1486, allocations: 0 / 0.5456 GB, free: 13.88 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.00016/0.1487, allocations: 121.8 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1488, allocations: 7.953 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.1488, allocations: 16.7 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1488, allocations: 4 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1488, allocations: 0 / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.1489, allocations: 3.938 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1494, allocations: 403.3 kB / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1494, allocations: 0 / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.1494, allocations: 11.98 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1494, allocations: 7.875 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1495, allocations: 7.984 kB / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1495, allocations: 0 / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1495, allocations: 0 / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1498, allocations: 208.5 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1498, allocations: 85.06 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1499, allocations: 3.938 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1499, allocations: 7.984 kB / 0.5465 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.15, allocations: 8 kB / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.15, allocations: 4 kB / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1501, allocations: 127.9 kB / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1501, allocations: 4 kB / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1504, allocations: 43.86 kB / 0.5467 GB, free: 12.72 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.002406/0.1529, allocations: 1.195 MB / 0.5478 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1531, allocations: 55.95 kB / 0.5479 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1531, allocations: 0 / 0.5479 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.1532, allocations: 39.91 kB / 0.5479 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1536, allocations: 23.98 kB / 0.5479 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1555, allocations: 1.588 MB / 0.5495 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1558, allocations: 0.6934 MB / 0.5502 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.1559, allocations: 20.88 kB / 0.5502 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.156, allocations: 39.41 kB / 0.5502 GB, free: 9.117 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.156, allocations: 0 / 0.5502 GB, free: 9.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.1838, allocations: 4.026 MB / 0.5542 GB, free: 5.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.429, allocations: 13.97 kB / 0.5542 GB, free: 5.148 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.348003525985405] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.551574819954112 8.567496815 8.420778814 Calling exit ...