Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.00125/0.00125, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.00139/0.00139, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.585/1.585, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.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.239/0.239, allocations: 46.88 MB / 357.4 MB, free: 10.49 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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",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.002194/0.002194, allocations: 83.88 kB / 0.4912 GB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1373, allocations: 65.99 MB / 0.5557 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003177/0.1405, allocations: 1.626 MB / 0.5573 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1416, allocations: 0.545 MB / 0.5578 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.1416, allocations: 0 / 0.5578 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1419, allocations: 83.77 kB / 0.5579 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1423, allocations: 99.59 kB / 0.558 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1426, allocations: 119.1 kB / 0.5581 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1427, allocations: 79.81 kB / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1429, allocations: 19.92 kB / 0.5582 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.1429, allocations: 35.89 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.143, allocations: 63.75 kB / 0.5583 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1431, allocations: 8 kB / 0.5583 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1432, allocations: 47.98 kB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1432, allocations: 19.92 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.1433, allocations: 31.73 kB / 0.5584 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1435, allocations: 107.5 kB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1435, allocations: 0 / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1435, allocations: 0 / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1435, allocations: 0 / 0.5585 GB, free: 3.328 MB / 414.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.0006034/0.1441, allocations: 422.7 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1442, allocations: 12.03 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.1442, allocations: 34.75 kB / 0.5589 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1442, allocations: 12.84 kB / 0.5589 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1445, allocations: 200.9 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1445, allocations: 384 / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1445, allocations: 12.36 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1447, allocations: 54.17 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1447, allocations: 3.938 kB / 0.5592 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1447, allocations: 8 kB / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1447, allocations: 0 / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1448, allocations: 31.97 kB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.1453, allocations: 300.8 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1454, allocations: 50.48 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.1454, allocations: 16.86 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1455, allocations: 4 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1455, allocations: 38.64 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1455, allocations: 0 / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009125/0.1464, allocations: 233.2 kB / 0.5599 GB, free: 1.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1465, allocations: 59.41 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1467, allocations: 210.3 kB / 0.5601 GB, free: 1.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1467, allocations: 25.7 kB / 0.5601 GB, free: 1.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.1468, allocations: 108.1 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1468, allocations: 31.73 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1469, allocations: 21.72 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.147, allocations: 326.8 kB / 0.5606 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.1471, allocations: 35.92 kB / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.1472, allocations: 39.97 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1474, allocations: 68.81 kB / 0.5607 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1474, allocations: 3.938 kB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.1476, allocations: 109.6 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1476, allocations: 8 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1476, allocations: 0 / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1476, allocations: 4 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1477, allocations: 19.92 kB / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1477, allocations: 0 / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.1478, allocations: 4 kB / 0.5609 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1478, allocations: 8.25 kB / 0.5609 GB, free: 0.6211 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.0001094/0.1479, allocations: 129.8 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.1479, allocations: 11.91 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.1483, allocations: 139 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1483, allocations: 0 / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1483, allocations: 0 / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1483, allocations: 0 / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.1489, allocations: 423.2 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1489, allocations: 3.938 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.1489, allocations: 24.02 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1489, allocations: 432 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.149, allocations: 7.938 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.149, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.149, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.1492, allocations: 212.3 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.1493, allocations: 100.9 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1493, allocations: 11.94 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.1494, allocations: 7.984 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1494, allocations: 4 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.1495, allocations: 4 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1496, allocations: 164.2 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1496, allocations: 0 / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1499, allocations: 27.92 kB / 0.5621 GB, free: 15.26 MB / 430.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.002199/0.1521, allocations: 1.093 MB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1523, allocations: 75.94 kB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1523, allocations: 0 / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.1524, allocations: 36.08 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1528, allocations: 22.56 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.155, allocations: 1.727 MB / 0.565 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1554, allocations: 0.7119 MB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.917e-05/0.1555, allocations: 24.59 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.1555, allocations: 35.42 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1555, allocations: 0 / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1803, allocations: 3.198 MB / 0.5689 GB, free: 8.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.198, allocations: 2.969 kB / 0.5689 GB, free: 8.441 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.34677870804444] 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.335008781868964 8.350229571 8.203853039 Calling exit ...