Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001734/0.001734, allocations: 123.6 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.001979/0.001979, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.533/1.533, 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.2357/0.2357, allocations: 46.16 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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.002432/0.002432, allocations: 84.44 kB / 489.8 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 62.45 MB / 0.5393 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003136/0.1178, allocations: 1.729 MB / 0.541 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1203, allocations: 1.627 MB / 0.5425 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.1204, allocations: 7.938 kB / 0.5425 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1207, allocations: 35.77 kB / 0.5426 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.121, allocations: 103.6 kB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1212, allocations: 75.69 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1214, allocations: 115.7 kB / 0.5429 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.1215, allocations: 16.22 kB / 0.5429 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.1216, allocations: 51.78 kB / 0.5429 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1218, allocations: 47.58 kB / 0.543 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1218, allocations: 4 kB / 0.543 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.122, allocations: 107.9 kB / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1221, allocations: 27.86 kB / 0.5431 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.1221, allocations: 39.73 kB / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1224, allocations: 179.4 kB / 0.5433 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1224, allocations: 0 / 0.5433 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1224, allocations: 0 / 0.5433 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1225, allocations: 4 kB / 0.5433 GB, free: 0.4922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005717/0.123, allocations: 442.4 kB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1231, allocations: 8.031 kB / 0.5437 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.1231, allocations: 38.75 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1232, allocations: 12.89 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1235, allocations: 216.2 kB / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1235, allocations: 4.375 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1235, allocations: 384 / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1237, allocations: 87.48 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1238, allocations: 3.953 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.1238, allocations: 3.938 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1238, allocations: 0 / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1239, allocations: 31.98 kB / 0.5441 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1243, allocations: 296.8 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1245, allocations: 74.67 kB / 0.5445 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.1246, allocations: 28.78 kB / 0.5445 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1246, allocations: 7.938 kB / 0.5445 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1248, allocations: 75.44 kB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.1248, allocations: 0 / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005875/0.1254, allocations: 197.3 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.1255, allocations: 81.11 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1257, allocations: 166.2 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1257, allocations: 29.7 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.1258, allocations: 104.1 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.1258, allocations: 31.73 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1259, allocations: 21.72 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.126, allocations: 330.8 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.1261, allocations: 23.98 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.1262, allocations: 46.5 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1263, allocations: 73.73 kB / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1263, allocations: 0 / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/0.1266, allocations: 113.5 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1266, allocations: 8 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1266, allocations: 0 / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1266, allocations: 0 / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.1267, allocations: 19.94 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1267, allocations: 0 / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.1268, allocations: 16.02 kB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1268, allocations: 4.656 kB / 0.5458 GB, free: 13.68 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 (11): * Single equations (assignments): 11 * 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.0001115/0.1269, allocations: 123.3 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1269, allocations: 15.89 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.127, allocations: 16.7 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.127, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.127, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.127, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.1275, allocations: 427.2 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1276, allocations: 4 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.1276, allocations: 19.94 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1276, allocations: 7.922 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1276, allocations: 4 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1276, allocations: 3.938 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1276, allocations: 0 / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1279, allocations: 212.3 kB / 0.5466 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.128, allocations: 93.05 kB / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.128, allocations: 0 / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.1281, allocations: 7.938 kB / 0.5467 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1282, allocations: 11.98 kB / 0.5467 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1282, allocations: 4 kB / 0.5467 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1283, allocations: 128.1 kB / 0.5468 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1283, allocations: 0 / 0.5468 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1286, allocations: 51.86 kB / 0.5469 GB, free: 12.47 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 (9): * Single equations (assignments): 7 * 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.002436/0.1311, allocations: 1.204 MB / 0.5481 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1313, allocations: 67.86 kB / 0.5481 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1313, allocations: 4 kB / 0.5481 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.1314, allocations: 35.92 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1318, allocations: 30.59 kB / 0.5482 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1338, allocations: 1.648 MB / 0.5498 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1341, allocations: 0.7006 MB / 0.5505 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.28e-05/0.1342, allocations: 24.41 kB / 0.5505 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.1343, allocations: 47.41 kB / 0.5505 GB, free: 8.77 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1343, allocations: 0 / 0.5505 GB, free: 8.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.1605, allocations: 4.187 MB / 0.5546 GB, free: 4.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.261, allocations: 13.25 kB / 0.5547 GB, free: 4.633 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.388273972086608] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y'] 8.39059284888208 8.417803585 8.290834684 Calling exit ...