Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001412/0.001412, 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.001482/0.001482, 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.451/1.451, allocations: 227.4 MB / 251.7 MB, free: 276 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.2248/0.2248, allocations: 46.16 MB / 351.1 MB, free: 14.37 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",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.002232/0.002232, allocations: 73.75 kB / 489.7 MB, free: 28.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1164, allocations: 62.47 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003081/0.1195, allocations: 1.605 MB / 0.5408 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1206, allocations: 0.5488 MB / 0.5413 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.1207, allocations: 0 / 0.5413 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.121, allocations: 123.6 kB / 0.5414 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1213, allocations: 127.6 kB / 0.5416 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1217, allocations: 107.7 kB / 0.5417 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1219, allocations: 107.7 kB / 0.5418 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.122, allocations: 15.94 kB / 0.5418 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.1221, allocations: 47.88 kB / 0.5418 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1222, allocations: 83.78 kB / 0.5419 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1223, allocations: 7.938 kB / 0.5419 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1224, allocations: 43.98 kB / 0.542 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.1224, allocations: 27.91 kB / 0.542 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.1225, allocations: 43.62 kB / 0.542 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1227, allocations: 119.5 kB / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1227, allocations: 3.984 kB / 0.5421 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1228, allocations: 0 / 0.5421 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1228, allocations: 4 kB / 0.5421 GB, free: 1.766 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.0005687/0.1233, allocations: 442.5 kB / 0.5426 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1234, allocations: 8.031 kB / 0.5426 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.1234, allocations: 34.75 kB / 0.5426 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.1235, allocations: 16.84 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1237, allocations: 227.7 kB / 0.5428 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1237, allocations: 384 / 0.5428 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1237, allocations: 4.375 kB / 0.5428 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1239, allocations: 58.22 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1239, allocations: 7.938 kB / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1239, allocations: 0 / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1239, allocations: 0 / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.806e-05/0.124, allocations: 27.97 kB / 0.5429 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1245, allocations: 312.7 kB / 0.5432 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1246, allocations: 50.56 kB / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.1247, allocations: 20.94 kB / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1247, allocations: 0 / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1247, allocations: 30.56 kB / 0.5433 GB, free: 384 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1247, allocations: 0 / 0.5433 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009355/0.1257, allocations: 257.1 kB / 0.5436 GB, free: 120 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1257, allocations: 55.34 kB / 0.5436 GB, free: 52 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.126, allocations: 275.8 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1261, allocations: 25.7 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.1261, allocations: 112.1 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.1262, allocations: 31.73 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.1262, allocations: 29.66 kB / 0.5441 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1264, allocations: 334.8 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.1265, allocations: 27.98 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.1266, allocations: 27.97 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1268, allocations: 72.89 kB / 0.5445 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1268, allocations: 0 / 0.5445 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002417/0.127, allocations: 125.5 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.127, allocations: 7.938 kB / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.127, allocations: 0 / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1271, allocations: 0 / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1272, allocations: 19.98 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1272, allocations: 0 / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1272, allocations: 4 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1273, allocations: 3.938 kB / 0.5447 GB, free: 14.93 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 (8): * Single equations (assignments): 8 * 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.0001095/0.1274, allocations: 137.8 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1274, allocations: 15.91 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.1277, allocations: 139 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1277, allocations: 4 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1277, allocations: 0 / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1278, allocations: 0 / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.1284, allocations: 439.6 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1284, allocations: 0 / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.1284, allocations: 23.92 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1285, allocations: 0 / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1285, allocations: 4.359 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1285, allocations: 4 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1285, allocations: 0 / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1288, allocations: 220.3 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.1288, allocations: 93 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1289, allocations: 11.94 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.129, allocations: 3.984 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.129, allocations: 11.97 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.129, allocations: 4 kB / 0.5457 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.1292, allocations: 209.5 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1292, allocations: 4 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1295, allocations: 31.86 kB / 0.546 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002122/0.1316, allocations: 1.093 MB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1319, allocations: 75.94 kB / 0.5471 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1319, allocations: 4 kB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.132, allocations: 43.92 kB / 0.5472 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1324, allocations: 19.77 kB / 0.5472 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1346, allocations: 1.856 MB / 0.549 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1349, allocations: 0.7236 MB / 0.5497 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.26e-05/0.135, allocations: 20.95 kB / 0.5497 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1351, allocations: 43.42 kB / 0.5498 GB, free: 9.637 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1351, allocations: 0 / 0.5498 GB, free: 9.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1591, allocations: 3.447 MB / 0.5531 GB, free: 6.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.247, allocations: 4.203 kB / 0.5531 GB, free: 6.289 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.18999740993604] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.370140396989882 8.393509102 8.266638545 Calling exit ...