Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.002039/0.002039, allocations: 117.4 kB / 18.45 MB, free: 4.59 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.002745/0.002745, allocations: 218.5 kB / 21.41 MB, free: 1.637 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.529/1.529, allocations: 227.4 MB / 251.7 MB, free: 84 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.2307/0.2307, allocations: 46.14 MB / 351.1 MB, free: 14.32 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",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.002227/0.002227, allocations: 78.62 kB / 489.8 MB, free: 28.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1141, allocations: 62.44 MB / 0.5393 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003098/0.1172, allocations: 1.723 MB / 0.5409 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1189, allocations: 1.02 MB / 0.5419 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.119, allocations: 11.94 kB / 0.5419 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1194, allocations: 43.77 kB / 0.542 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1197, allocations: 91.59 kB / 0.5421 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1199, allocations: 79.67 kB / 0.5421 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1201, allocations: 99.69 kB / 0.5422 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.1202, allocations: 20.27 kB / 0.5423 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.1203, allocations: 39.8 kB / 0.5423 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.1204, allocations: 43.7 kB / 0.5423 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1204, allocations: 4 kB / 0.5423 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.1205, allocations: 43.98 kB / 0.5424 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.1205, allocations: 15.94 kB / 0.5424 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.1206, allocations: 39.72 kB / 0.5424 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1208, allocations: 115.5 kB / 0.5426 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1208, allocations: 4 kB / 0.5426 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1208, allocations: 0 / 0.5426 GB, free: 1.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1208, allocations: 0 / 0.5426 GB, free: 1.293 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.000567/0.1214, allocations: 434.5 kB / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1215, allocations: 12.03 kB / 0.543 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.1215, allocations: 30.75 kB / 0.543 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1215, allocations: 12.88 kB / 0.543 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1218, allocations: 212.8 kB / 0.5432 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1219, allocations: 4.375 kB / 0.5432 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1219, allocations: 4.359 kB / 0.5432 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.122, allocations: 57.8 kB / 0.5433 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1221, allocations: 4 kB / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1221, allocations: 4 kB / 0.5433 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1221, allocations: 0 / 0.5433 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.1222, allocations: 19.92 kB / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1225, allocations: 288.9 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1227, allocations: 54.69 kB / 0.5436 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.1228, allocations: 24.84 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1228, allocations: 0 / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.123, allocations: 71.33 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.123, allocations: 0 / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.1236, allocations: 181.3 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1236, allocations: 55.41 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1238, allocations: 194.4 kB / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1239, allocations: 29.7 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1239, allocations: 100.1 kB / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.124, allocations: 23.84 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.124, allocations: 21.72 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1242, allocations: 326.8 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.1242, allocations: 23.98 kB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.1243, allocations: 45.58 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1244, allocations: 61.64 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1244, allocations: 0 / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1246, allocations: 101.6 kB / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1247, allocations: 7.938 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1247, allocations: 160 / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1247, allocations: 4 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.1248, allocations: 20.02 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1248, allocations: 3.984 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.1249, allocations: 8 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1249, allocations: 0 / 0.5449 GB, free: 14.66 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.0001122/0.125, allocations: 126.5 kB / 0.545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.125, allocations: 15.89 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.1251, allocations: 17.41 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1251, allocations: 4 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1251, allocations: 0 / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1251, allocations: 4 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1256, allocations: 403.2 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1256, allocations: 0 / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1257, allocations: 11.94 kB / 0.5454 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1257, allocations: 0 / 0.5454 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1257, allocations: 4 kB / 0.5454 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1257, allocations: 3.938 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1257, allocations: 0 / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.126, allocations: 204.4 kB / 0.5456 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.126, allocations: 89.02 kB / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1261, allocations: 0 / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1261, allocations: 8.312 kB / 0.5457 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1262, allocations: 15.97 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1262, allocations: 0 / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1263, allocations: 161.4 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1264, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1266, allocations: 20 kB / 0.5459 GB, free: 13.48 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.002171/0.1288, allocations: 1.096 MB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.129, allocations: 59.86 kB / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.129, allocations: 0 / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1291, allocations: 31.92 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1295, allocations: 35.03 kB / 0.5471 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1314, allocations: 1.654 MB / 0.5487 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1318, allocations: 0.7079 MB / 0.5494 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.1319, allocations: 16.89 kB / 0.5494 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.1319, allocations: 43.41 kB / 0.5495 GB, free: 9.871 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.132, allocations: 0 / 0.5495 GB, free: 9.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1569, allocations: 3.465 MB / 0.5529 GB, free: 6.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.339, allocations: 1.25 kB / 0.5529 GB, free: 6.512 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.407877231016755] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.460671609034762 8.476312351 8.352376137 Calling exit ...