Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.001865/0.001865, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.002371/0.002371, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.483/1.483, allocations: 227.5 MB / 251.7 MB, free: 256 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.2414/0.2414, allocations: 46.14 MB / 351.1 MB, free: 14.34 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.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",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.002322/0.002322, allocations: 80.56 kB / 489.8 MB, free: 28.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 62.45 MB / 0.5393 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003229/0.1291, allocations: 1.725 MB / 0.5409 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1308, allocations: 1.02 MB / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.1309, allocations: 4 kB / 0.5419 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1312, allocations: 47.77 kB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1315, allocations: 95.53 kB / 0.5421 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1317, allocations: 79.67 kB / 0.5422 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1319, allocations: 99.73 kB / 0.5423 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.132, allocations: 20.22 kB / 0.5423 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.1321, allocations: 35.84 kB / 0.5423 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.1322, allocations: 39.78 kB / 0.5423 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1322, allocations: 4 kB / 0.5423 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1323, allocations: 43.98 kB / 0.5424 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.1324, allocations: 19.92 kB / 0.5424 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.1325, allocations: 39.67 kB / 0.5424 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1328, allocations: 131.4 kB / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1328, allocations: 0 / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1328, allocations: 0 / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1328, allocations: 0 / 0.5426 GB, free: 1.277 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.0006908/0.1335, allocations: 426.6 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1336, allocations: 16.03 kB / 0.543 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1336, allocations: 30.75 kB / 0.543 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.1337, allocations: 8.891 kB / 0.543 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.134, allocations: 212.1 kB / 0.5432 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1341, allocations: 4.375 kB / 0.5432 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1341, allocations: 4.312 kB / 0.5432 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1342, allocations: 61.8 kB / 0.5433 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1343, allocations: 3.984 kB / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1343, allocations: 0 / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1343, allocations: 7.938 kB / 0.5433 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.1344, allocations: 19.98 kB / 0.5433 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1348, allocations: 304.8 kB / 0.5436 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.135, allocations: 54.62 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.135, allocations: 28.84 kB / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1351, allocations: 4 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1352, allocations: 59.39 kB / 0.5438 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1352, allocations: 0 / 0.5438 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.1358, allocations: 177.3 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1358, allocations: 55.41 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.136, allocations: 202.1 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1361, allocations: 33.7 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.1362, allocations: 104.1 kB / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1362, allocations: 27.78 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1362, allocations: 21.72 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1364, allocations: 326.8 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.1365, allocations: 23.92 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.1365, allocations: 37.7 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1367, allocations: 61.7 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1367, allocations: 0 / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.1369, allocations: 109.5 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1369, allocations: 5.719 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1369, allocations: 192 / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1369, allocations: 0 / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.137, allocations: 23.92 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.137, allocations: 0 / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1371, allocations: 8.031 kB / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1371, allocations: 0 / 0.5449 GB, free: 14.62 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.0001708/0.1373, allocations: 137.7 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1373, allocations: 11.91 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.1374, allocations: 17.56 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1374, allocations: 0 / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1374, allocations: 0 / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1374, allocations: 3.984 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.138, allocations: 403.2 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.138, allocations: 3.938 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.138, allocations: 8.375 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.138, allocations: 4 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1381, allocations: 11.98 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1381, allocations: 3.938 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1381, allocations: 0 / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1383, allocations: 204.3 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.1384, allocations: 85.06 kB / 0.5458 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1384, allocations: 8 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1385, allocations: 7.922 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1386, allocations: 4 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1386, allocations: 4 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1387, allocations: 160.8 kB / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1388, allocations: 4 kB / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.139, allocations: 31.92 kB / 0.546 GB, free: 13.42 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.002207/0.1412, allocations: 1.085 MB / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1415, allocations: 67.84 kB / 0.5471 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1415, allocations: 0 / 0.5471 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.1416, allocations: 23.98 kB / 0.5471 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1419, allocations: 31.53 kB / 0.5472 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1439, allocations: 1.697 MB / 0.5488 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1443, allocations: 0.7119 MB / 0.5495 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.1443, allocations: 16.5 kB / 0.5495 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.1444, allocations: 35.42 kB / 0.5496 GB, free: 9.781 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1444, allocations: 4 kB / 0.5496 GB, free: 9.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.1714, allocations: 3.515 MB / 0.553 GB, free: 6.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.245, allocations: 5.969 kB / 0.553 GB, free: 6.367 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.305718557909131] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.370998182799667 8.385216072 8.249068411 Calling exit ...