Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001592/0.001592, allocations: 122.2 kB / 18.45 MB, free: 4.633 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.001637/0.001637, allocations: 207.3 kB / 21.41 MB, free: 1.684 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.459/1.459, allocations: 227.4 MB / 251.7 MB, free: 280 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.2253/0.2253, allocations: 46.16 MB / 351.1 MB, free: 14.36 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",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.002262/0.002262, allocations: 81.55 kB / 489.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1119, allocations: 62.44 MB / 0.5392 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003051/0.1149, allocations: 1.602 MB / 0.5408 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.116, allocations: 0.5411 MB / 0.5413 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.116, allocations: 0 / 0.5413 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1162, allocations: 15.86 kB / 0.5413 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1165, allocations: 83.62 kB / 0.5414 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1168, allocations: 115 kB / 0.5415 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.117, allocations: 63.89 kB / 0.5415 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.1171, allocations: 15.88 kB / 0.5416 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.1172, allocations: 27.86 kB / 0.5416 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1172, allocations: 23.84 kB / 0.5416 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1173, allocations: 7.938 kB / 0.5416 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.1173, allocations: 31.98 kB / 0.5417 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.1174, allocations: 15.94 kB / 0.5417 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1174, allocations: 23.81 kB / 0.5417 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1176, allocations: 79.7 kB / 0.5418 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1177, allocations: 4 kB / 0.5418 GB, free: 2.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1177, allocations: 0 / 0.5418 GB, free: 2.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1177, allocations: 0 / 0.5418 GB, free: 2.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004988/0.1182, allocations: 390.9 kB / 0.5421 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1182, allocations: 11.97 kB / 0.5422 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.1183, allocations: 34.69 kB / 0.5422 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1183, allocations: 8.891 kB / 0.5422 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1185, allocations: 200.2 kB / 0.5424 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1185, allocations: 4.375 kB / 0.5424 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1186, allocations: 4.375 kB / 0.5424 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1187, allocations: 50.23 kB / 0.5424 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1187, allocations: 3.938 kB / 0.5424 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1187, allocations: 7.984 kB / 0.5425 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1187, allocations: 0 / 0.5425 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.1188, allocations: 19.98 kB / 0.5425 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1192, allocations: 296.8 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1194, allocations: 46.56 kB / 0.5428 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.1195, allocations: 12.94 kB / 0.5428 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1195, allocations: 4 kB / 0.5428 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1196, allocations: 34.56 kB / 0.5428 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1196, allocations: 4 kB / 0.5429 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000552/0.1201, allocations: 145.4 kB / 0.543 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1202, allocations: 55.41 kB / 0.543 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1203, allocations: 165 kB / 0.5432 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1204, allocations: 25.7 kB / 0.5432 GB, free: 448 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.1204, allocations: 100 kB / 0.5433 GB, free: 344 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1205, allocations: 27.84 kB / 0.5433 GB, free: 316 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1205, allocations: 13.72 kB / 0.5434 GB, free: 296 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1207, allocations: 322.8 kB / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.1207, allocations: 19.98 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.1208, allocations: 19.98 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.121, allocations: 56.81 kB / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.121, allocations: 4 kB / 0.5438 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000194/0.1212, allocations: 85.62 kB / 0.5438 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1212, allocations: 4 kB / 0.5438 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1212, allocations: 3.938 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1212, allocations: 0 / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.1213, allocations: 19.92 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1213, allocations: 3.938 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.1214, allocations: 8.234 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.1214, allocations: 7.938 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.666e-05/0.1215, allocations: 117.8 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1215, allocations: 7.953 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1218, allocations: 102 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1218, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1218, allocations: 4 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1218, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1223, allocations: 358.4 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1223, allocations: 0 / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.1224, allocations: 15.98 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1224, allocations: 0 / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1224, allocations: 0 / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1224, allocations: 3.938 kB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1224, allocations: 0 / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1227, allocations: 191.4 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.1227, allocations: 85.06 kB / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1227, allocations: 0 / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1228, allocations: 11.92 kB / 0.5447 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1228, allocations: 0 / 0.5447 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1229, allocations: 4 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.123, allocations: 123.2 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.123, allocations: 4 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1232, allocations: 23.88 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001837/0.1251, allocations: 1.022 MB / 0.5459 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1253, allocations: 51.95 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1253, allocations: 0 / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.1254, allocations: 27.98 kB / 0.546 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1257, allocations: 15.98 kB / 0.546 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1275, allocations: 1.487 MB / 0.5474 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1279, allocations: 0.7002 MB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.128, allocations: 20.08 kB / 0.5481 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.128, allocations: 27.42 kB / 0.5482 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.128, allocations: 0 / 0.5482 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1517, allocations: 2.628 MB / 0.5507 GB, free: 8.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.078, allocations: 15.08 kB / 0.5507 GB, free: 8.707 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.036976312985644] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.20253130607307 8.231208983 8.108261001 Calling exit ...