Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001727/0.001727, 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.002111/0.002111, 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.418/1.418, allocations: 227.4 MB / 251.7 MB, free: 80 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.2306/0.2306, allocations: 46.14 MB / 351.1 MB, free: 14.43 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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",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.002244/0.002244, allocations: 84.14 kB / 489.8 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.115, allocations: 62.44 MB / 0.5393 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003205/0.1182, allocations: 1.748 MB / 0.541 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1199, allocations: 1.028 MB / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.12, allocations: 0 / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1204, allocations: 91.69 kB / 0.5421 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.1207, allocations: 119.5 kB / 0.5422 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.121, allocations: 87.66 kB / 0.5423 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1212, allocations: 115.7 kB / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1213, allocations: 16.27 kB / 0.5424 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1214, allocations: 55.77 kB / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1215, allocations: 67.81 kB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1215, allocations: 7.938 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1217, allocations: 63.97 kB / 0.5426 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1217, allocations: 19.92 kB / 0.5426 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.1218, allocations: 47.61 kB / 0.5426 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1221, allocations: 143.3 kB / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1221, allocations: 0 / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1221, allocations: 0 / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1221, allocations: 0 / 0.5428 GB, free: 1.086 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006277/0.1227, allocations: 446.5 kB / 0.5432 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1228, allocations: 16.02 kB / 0.5432 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1228, allocations: 34.75 kB / 0.5432 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1229, allocations: 12.84 kB / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1232, allocations: 224.8 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1232, allocations: 4.375 kB / 0.5435 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1233, allocations: 4.375 kB / 0.5435 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1234, allocations: 61.8 kB / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1235, allocations: 0 / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1235, allocations: 3.984 kB / 0.5435 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1235, allocations: 4 kB / 0.5436 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.278e-05/0.1236, allocations: 23.98 kB / 0.5436 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.1241, allocations: 304.8 kB / 0.5439 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1244, allocations: 58.48 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.1244, allocations: 24.98 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1245, allocations: 4 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1247, allocations: 71.38 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1247, allocations: 0 / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008816/0.1255, allocations: 253.1 kB / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1256, allocations: 55.41 kB / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.1259, allocations: 242 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1259, allocations: 33.7 kB / 0.5446 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.126, allocations: 112.1 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.126, allocations: 27.75 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.1261, allocations: 33.64 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1262, allocations: 330.8 kB / 0.5451 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.1263, allocations: 23.98 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.1264, allocations: 53.33 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1266, allocations: 85.64 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1266, allocations: 3.938 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002255/0.1268, allocations: 125.6 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1268, allocations: 4 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1268, allocations: 0 / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1268, allocations: 4 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.1269, allocations: 23.92 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1269, allocations: 4.031 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.127, allocations: 7.938 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.127, allocations: 8 kB / 0.5454 GB, free: 14.17 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 (13): * Single equations (assignments): 13 * 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.0001114/0.1271, allocations: 129.8 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1272, allocations: 15.91 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.1272, allocations: 21.39 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1272, allocations: 0 / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1272, allocations: 0 / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1272, allocations: 3.938 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.1278, allocations: 460 kB / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1278, allocations: 0 / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.1279, allocations: 23.81 kB / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1279, allocations: 0 / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1279, allocations: 7.984 kB / 0.546 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1279, allocations: 0 / 0.546 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1279, allocations: 4 kB / 0.546 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.1282, allocations: 229.2 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.1283, allocations: 92.95 kB / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1283, allocations: 7.984 kB / 0.5463 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.1284, allocations: 4 kB / 0.5463 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1284, allocations: 11.92 kB / 0.5463 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1285, allocations: 8 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.1286, allocations: 176.4 kB / 0.5465 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1286, allocations: 96 / 0.5465 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1289, allocations: 35.86 kB / 0.5466 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002383/0.1313, allocations: 1.171 MB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1316, allocations: 87.84 kB / 0.5478 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1316, allocations: 0 / 0.5478 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1317, allocations: 43.91 kB / 0.5478 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1321, allocations: 37.59 kB / 0.5479 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.1343, allocations: 1.853 MB / 0.5497 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1346, allocations: 0.7197 MB / 0.5504 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.1347, allocations: 12.66 kB / 0.5504 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.1348, allocations: 51.41 kB / 0.5504 GB, free: 8.926 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1348, allocations: 0 / 0.5504 GB, free: 8.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.171, allocations: 3.957 MB / 0.5543 GB, free: 5.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.218, allocations: 9.797 kB / 0.5543 GB, free: 5.066 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.213952918886207] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.340129195014015 8.364237016 8.237694083 Calling exit ...