Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001882/0.001882, 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.002376/0.002376, 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.48/1.48, allocations: 227.4 MB / 251.7 MB, free: 44 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.2311/0.2311, allocations: 46.16 MB / 351.1 MB, free: 14.29 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",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.002295/0.002295, allocations: 78.67 kB / 489.7 MB, free: 28.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1254, allocations: 62.44 MB / 0.5392 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003057/0.1285, allocations: 1.605 MB / 0.5408 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1303, allocations: 1.167 MB / 0.5419 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1304, allocations: 0 / 0.5419 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1306, allocations: 23.8 kB / 0.5419 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1309, allocations: 87.67 kB / 0.542 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1312, allocations: 111.2 kB / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1313, allocations: 67.77 kB / 0.5422 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.1314, allocations: 19.92 kB / 0.5422 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.1315, allocations: 27.92 kB / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1317, allocations: 35.83 kB / 0.5423 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1317, allocations: 4 kB / 0.5423 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.1319, allocations: 95.89 kB / 0.5423 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.132, allocations: 19.91 kB / 0.5424 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.132, allocations: 19.88 kB / 0.5424 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1323, allocations: 143.5 kB / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1323, allocations: 0 / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1323, allocations: 0 / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1323, allocations: 0 / 0.5425 GB, free: 1.316 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.0005638/0.1329, allocations: 406.8 kB / 0.5429 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1329, allocations: 12.03 kB / 0.5429 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.133, allocations: 34.73 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.133, allocations: 8.891 kB / 0.543 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1332, allocations: 200.1 kB / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1332, allocations: 4.375 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1333, allocations: 384 / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1334, allocations: 63.91 kB / 0.5432 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1335, allocations: 7.938 kB / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1335, allocations: 4 kB / 0.5432 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1335, allocations: 0 / 0.5432 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.1336, allocations: 23.97 kB / 0.5433 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.134, allocations: 284.9 kB / 0.5435 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1343, allocations: 54.5 kB / 0.5436 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1343, allocations: 20.94 kB / 0.5436 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1344, allocations: 0 / 0.5436 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1344, allocations: 34.56 kB / 0.5436 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1344, allocations: 0 / 0.5436 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006341/0.1351, allocations: 149.3 kB / 0.5438 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.1351, allocations: 85.11 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1353, allocations: 147.5 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1353, allocations: 29.69 kB / 0.544 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1354, allocations: 96.12 kB / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1354, allocations: 11.86 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1355, allocations: 21.7 kB / 0.5441 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1356, allocations: 322.8 kB / 0.5445 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.1357, allocations: 23.97 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.1358, allocations: 33.7 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.136, allocations: 60.95 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.136, allocations: 0 / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000204/0.1362, allocations: 89.61 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1362, allocations: 4 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1362, allocations: 0 / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1363, allocations: 4.031 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.1363, allocations: 15.98 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1363, allocations: 0 / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.1364, allocations: 7.938 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1364, allocations: 0 / 0.5447 GB, free: 14.85 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.0001025/0.1365, allocations: 125.7 kB / 0.5448 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1366, allocations: 7.953 kB / 0.5448 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1368, allocations: 101.9 kB / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1368, allocations: 0 / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1369, allocations: 3.938 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1369, allocations: 0 / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1374, allocations: 362.4 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1374, allocations: 0 / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.1374, allocations: 15.98 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1374, allocations: 0 / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1375, allocations: 4 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1375, allocations: 0 / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1375, allocations: 3.938 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1377, allocations: 183.7 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.1378, allocations: 93.05 kB / 0.5455 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1378, allocations: 0 / 0.5455 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.1379, allocations: 8 kB / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.138, allocations: 7.922 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.138, allocations: 7.938 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1381, allocations: 109.3 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1381, allocations: 0 / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1384, allocations: 39.86 kB / 0.5457 GB, free: 13.69 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.002182/0.1406, allocations: 1.104 MB / 0.5468 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1408, allocations: 55.91 kB / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1408, allocations: 0 / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.1409, allocations: 27.97 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1412, allocations: 19.88 kB / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1431, allocations: 1.448 MB / 0.5483 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1434, allocations: 0.6885 MB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.744e-05/0.1435, allocations: 19.77 kB / 0.549 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.1436, allocations: 31.42 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1436, allocations: 4 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.1744, allocations: 3.239 MB / 0.5522 GB, free: 7.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.121, allocations: 17.2 kB / 0.5522 GB, free: 7.148 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.07049681385979] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.244828684953973 8.262106357 8.125515083 Calling exit ...