Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001786/0.001786, allocations: 122.1 kB / 18.46 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.002327/0.002327, allocations: 211.3 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.532/1.532, 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.2437/0.2437, allocations: 46.14 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002384/0.002384, allocations: 90.47 kB / 489.7 MB, free: 28.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1191, allocations: 62.45 MB / 0.5392 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003334/0.1225, allocations: 1.593 MB / 0.5407 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1246, allocations: 1.171 MB / 0.5419 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.1247, allocations: 0 / 0.5419 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1249, allocations: 27.84 kB / 0.5419 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1252, allocations: 83.62 kB / 0.542 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.1257, allocations: 107.7 kB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1259, allocations: 75.75 kB / 0.5422 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.126, allocations: 11.94 kB / 0.5422 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.126, allocations: 23.92 kB / 0.5422 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1262, allocations: 43.83 kB / 0.5422 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.1263, allocations: 4 kB / 0.5422 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.1265, allocations: 95.88 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.1265, allocations: 19.92 kB / 0.5424 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1266, allocations: 15.88 kB / 0.5424 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1268, allocations: 143.5 kB / 0.5425 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1268, allocations: 0 / 0.5425 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1268, allocations: 0 / 0.5425 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1268, allocations: 0 / 0.5425 GB, free: 1.383 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.0006019/0.1275, allocations: 410.8 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1275, allocations: 8.031 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.1275, allocations: 34.75 kB / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1276, allocations: 8.891 kB / 0.5429 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1278, allocations: 192.2 kB / 0.5431 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1278, allocations: 8.312 kB / 0.5431 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1279, allocations: 4.375 kB / 0.5431 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.128, allocations: 59.95 kB / 0.5432 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1281, allocations: 11.94 kB / 0.5432 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1281, allocations: 0 / 0.5432 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1281, allocations: 4 kB / 0.5432 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1282, allocations: 27.92 kB / 0.5432 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1287, allocations: 280.9 kB / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1289, allocations: 46.56 kB / 0.5436 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1289, allocations: 20.94 kB / 0.5436 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.129, allocations: 3.938 kB / 0.5436 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.129, allocations: 30.56 kB / 0.5436 GB, free: 76 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.129, allocations: 4 kB / 0.5436 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006664/0.1297, allocations: 157.3 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.1298, allocations: 85.05 kB / 0.5438 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.13, allocations: 148 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1301, allocations: 29.7 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.1301, allocations: 88.14 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1302, allocations: 23.84 kB / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1302, allocations: 17.72 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1304, allocations: 322.8 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.1305, allocations: 23.98 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.527e-05/0.1306, allocations: 33.7 kB / 0.5445 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1307, allocations: 52.83 kB / 0.5446 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1307, allocations: 0 / 0.5446 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002522/0.131, allocations: 89.55 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.131, allocations: 4.031 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.131, allocations: 4 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.131, allocations: 4 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.1311, allocations: 11.98 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1311, allocations: 0 / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1312, allocations: 7.938 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1312, allocations: 0 / 0.5447 GB, free: 14.92 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 0.0001226/0.1313, allocations: 125.8 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.1313, allocations: 4.234 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.1316, allocations: 106.1 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1316, allocations: 3.984 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1317, allocations: 8.047 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1317, allocations: 0 / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.1322, allocations: 358.5 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1322, allocations: 0 / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.1323, allocations: 19.94 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1323, allocations: 0 / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1323, allocations: 4 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1323, allocations: 3.984 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1323, allocations: 3.938 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1326, allocations: 175.5 kB / 0.5454 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.1327, allocations: 85.05 kB / 0.5455 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1327, allocations: 8 kB / 0.5455 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.1328, allocations: 4 kB / 0.5455 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1329, allocations: 11.92 kB / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1329, allocations: 0 / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.133, allocations: 112.8 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.133, allocations: 0 / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1333, allocations: 39.86 kB / 0.5457 GB, free: 13.76 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.002361/0.1357, allocations: 1.112 MB / 0.5468 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.136, allocations: 51.97 kB / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.136, allocations: 0 / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.1361, allocations: 35.91 kB / 0.5469 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1365, allocations: 15.94 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1384, allocations: 1.447 MB / 0.5483 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1388, allocations: 0.6924 MB / 0.549 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.1389, allocations: 16 kB / 0.549 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.139, allocations: 31.42 kB / 0.549 GB, free: 10.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.555e-06/0.139, allocations: 0 / 0.549 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.1674, allocations: 3.254 MB / 0.5522 GB, free: 7.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.342, allocations: 6.812 kB / 0.5522 GB, free: 7.211 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.58582801092416] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.468952675000764 8.495360117 8.363985855 Calling exit ...