Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001603/0.001602, 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.001953/0.001954, 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.559/1.559, allocations: 227.4 MB / 251.7 MB, free: 84 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.2314/0.2314, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",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.002467/0.002467, allocations: 78.58 kB / 489.7 MB, free: 28.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 62.46 MB / 0.5392 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00307/0.1394, allocations: 1.581 MB / 0.5407 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1405, allocations: 0.5489 MB / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.1406, allocations: 0 / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.1409, allocations: 27.8 kB / 0.5413 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.1412, allocations: 79.66 kB / 0.5414 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1416, allocations: 118.7 kB / 0.5415 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1417, allocations: 59.78 kB / 0.5416 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.1418, allocations: 23.91 kB / 0.5416 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1419, allocations: 19.92 kB / 0.5416 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.142, allocations: 23.86 kB / 0.5416 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.142, allocations: 8 kB / 0.5416 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.1421, allocations: 31.98 kB / 0.5417 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.1422, allocations: 15.92 kB / 0.5417 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.1422, allocations: 27.8 kB / 0.5417 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1424, allocations: 87.59 kB / 0.5418 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1424, allocations: 0 / 0.5418 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1424, allocations: 0 / 0.5418 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1424, allocations: 0 / 0.5418 GB, free: 2.09 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.0005215/0.143, allocations: 394.9 kB / 0.5422 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.143, allocations: 12.03 kB / 0.5422 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.1431, allocations: 34.75 kB / 0.5422 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1431, allocations: 12.84 kB / 0.5422 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1433, allocations: 199.4 kB / 0.5424 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1433, allocations: 4.375 kB / 0.5424 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1434, allocations: 384 / 0.5424 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1435, allocations: 57.56 kB / 0.5425 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1435, allocations: 0 / 0.5425 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1435, allocations: 3.984 kB / 0.5425 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1436, allocations: 0 / 0.5425 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.1437, allocations: 27.98 kB / 0.5425 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.1441, allocations: 280.9 kB / 0.5428 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1443, allocations: 46.5 kB / 0.5428 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1444, allocations: 16.94 kB / 0.5428 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1444, allocations: 3.938 kB / 0.5428 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1444, allocations: 42.56 kB / 0.5429 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1445, allocations: 3.938 kB / 0.5429 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005895/0.145, allocations: 153.3 kB / 0.543 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1451, allocations: 51.41 kB / 0.5431 GB, free: 0.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1453, allocations: 174.5 kB / 0.5432 GB, free: 404 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1453, allocations: 33.7 kB / 0.5433 GB, free: 364 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.1454, allocations: 96.12 kB / 0.5434 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1454, allocations: 15.84 kB / 0.5434 GB, free: 248 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1455, allocations: 25.7 kB / 0.5434 GB, free: 216 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1456, allocations: 318.8 kB / 0.5437 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.1457, allocations: 23.97 kB / 0.5437 GB, free: 15.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.1458, allocations: 19.98 kB / 0.5437 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.146, allocations: 60.95 kB / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.146, allocations: 0 / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002083/0.1462, allocations: 93.56 kB / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1462, allocations: 4 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1462, allocations: 0 / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1462, allocations: 0 / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.1463, allocations: 15.98 kB / 0.5439 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1463, allocations: 0 / 0.5439 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.1464, allocations: 12 kB / 0.5439 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1464, allocations: 3.938 kB / 0.5439 GB, free: 15.65 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.0001001/0.1465, allocations: 121.8 kB / 0.544 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1465, allocations: 7.953 kB / 0.544 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.1468, allocations: 97.91 kB / 0.5441 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1468, allocations: 0 / 0.5441 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1468, allocations: 4 kB / 0.5441 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1468, allocations: 3.984 kB / 0.5441 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.1473, allocations: 362.4 kB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1473, allocations: 0 / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.1474, allocations: 11.98 kB / 0.5445 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1474, allocations: 0 / 0.5445 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1474, allocations: 8 kB / 0.5445 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.1474, allocations: 3.938 kB / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1474, allocations: 0 / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1477, allocations: 187.9 kB / 0.5447 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1477, allocations: 88.95 kB / 0.5448 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1478, allocations: 7.984 kB / 0.5448 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1478, allocations: 3.938 kB / 0.5448 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1479, allocations: 11.98 kB / 0.5448 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1479, allocations: 3.938 kB / 0.5448 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.148, allocations: 143.9 kB / 0.5449 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.148, allocations: 0 / 0.5449 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1483, allocations: 16 kB / 0.545 GB, free: 14.48 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.001916/0.1502, allocations: 1.006 MB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1504, allocations: 55.89 kB / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1504, allocations: 0 / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.1505, allocations: 27.98 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1509, allocations: 23.86 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1527, allocations: 1.527 MB / 0.5475 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1531, allocations: 0.7002 MB / 0.5482 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.1531, allocations: 16.05 kB / 0.5482 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.1532, allocations: 23.44 kB / 0.5483 GB, free: 11.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1532, allocations: 4 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1778, allocations: 2.682 MB / 0.5509 GB, free: 8.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.317, allocations: 9.062 kB / 0.5509 GB, free: 8.535 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.358093082904816] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.43663875805214 8.451409988 8.306328795 Calling exit ...