Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001585/0.001585, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001393/0.001393, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2343/0.2343, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",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: 88.97 kB / 0.4913 GB, free: 26.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1277, allocations: 65.98 MB / 0.5557 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.004102/0.1318, allocations: 1.671 MB / 0.5573 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1334, allocations: 0.5644 MB / 0.5579 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.1334, allocations: 4 kB / 0.5579 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1338, allocations: 67.7 kB / 0.5579 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.1342, allocations: 107.6 kB / 0.558 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.1348, allocations: 134.3 kB / 0.5582 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.135, allocations: 95.73 kB / 0.5583 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1351, allocations: 12.45 kB / 0.5583 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.1352, allocations: 39.83 kB / 0.5583 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1354, allocations: 59.81 kB / 0.5584 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1354, allocations: 4 kB / 0.5584 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1355, allocations: 51.97 kB / 0.5584 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.1356, allocations: 27.86 kB / 0.5585 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.1357, allocations: 35.73 kB / 0.5585 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.136, allocations: 127.4 kB / 0.5586 GB, free: 6.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.136, allocations: 4 kB / 0.5586 GB, free: 6.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.136, allocations: 0 / 0.5586 GB, free: 6.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.136, allocations: 0 / 0.5586 GB, free: 6.098 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008485/0.1369, allocations: 438.6 kB / 0.559 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1369, allocations: 8.031 kB / 0.559 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.416e-05/0.137, allocations: 42.69 kB / 0.5591 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.137, allocations: 12.84 kB / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1373, allocations: 200.1 kB / 0.5593 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1373, allocations: 4.312 kB / 0.5593 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.1374, allocations: 16.36 kB / 0.5593 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.1376, allocations: 62.23 kB / 0.5594 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1376, allocations: 3.938 kB / 0.5594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1377, allocations: 0 / 0.5594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1377, allocations: 0 / 0.5594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.1379, allocations: 39.97 kB / 0.5594 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.1385, allocations: 320.7 kB / 0.5597 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1388, allocations: 54.55 kB / 0.5598 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1389, allocations: 24.91 kB / 0.5598 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.139, allocations: 4.094 kB / 0.5598 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.139, allocations: 38.5 kB / 0.5598 GB, free: 4.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.139, allocations: 4 kB / 0.5598 GB, free: 4.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.002347/0.1414, allocations: 385 kB / 0.5602 GB, free: 4.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1414, allocations: 55.41 kB / 0.5602 GB, free: 4.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.1418, allocations: 226 kB / 0.5605 GB, free: 3.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1418, allocations: 29.7 kB / 0.5605 GB, free: 3.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1419, allocations: 112.1 kB / 0.5606 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.142, allocations: 35.7 kB / 0.5606 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.1421, allocations: 25.7 kB / 0.5607 GB, free: 3.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.1423, allocations: 326.8 kB / 0.561 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1425, allocations: 40.53 kB / 0.561 GB, free: 3.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1427, allocations: 39.97 kB / 0.561 GB, free: 3.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.1431, allocations: 112.7 kB / 0.5612 GB, free: 3.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1431, allocations: 0 / 0.5612 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005447/0.1437, allocations: 145.5 kB / 0.5613 GB, free: 3.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.1437, allocations: 8 kB / 0.5613 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1437, allocations: 0 / 0.5613 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1437, allocations: 4 kB / 0.5613 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1439, allocations: 27.97 kB / 0.5613 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1439, allocations: 3.938 kB / 0.5613 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.144, allocations: 11.98 kB / 0.5613 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.144, allocations: 3.938 kB / 0.5613 GB, free: 3.055 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 (11): * Single equations (assignments): 11 * 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.0001748/0.1442, allocations: 137.7 kB / 0.5615 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.1443, allocations: 19.84 kB / 0.5615 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.1449, allocations: 163.5 kB / 0.5617 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1449, allocations: 0 / 0.5617 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.1449, allocations: 7.938 kB / 0.5617 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1449, allocations: 3.984 kB / 0.5617 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.146, allocations: 476 kB / 0.5621 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.146, allocations: 3.938 kB / 0.5621 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1462, allocations: 35.91 kB / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1462, allocations: 0 / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1462, allocations: 0 / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1462, allocations: 7.984 kB / 0.5622 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1462, allocations: 0 / 0.5622 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.1468, allocations: 261.2 kB / 0.5624 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.1469, allocations: 92.95 kB / 0.5625 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.1469, allocations: 4 kB / 0.5625 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1471, allocations: 11.98 kB / 0.5625 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1471, allocations: 15.92 kB / 0.5625 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1472, allocations: 8 kB / 0.5625 GB, free: 1.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1474, allocations: 164.8 kB / 0.5627 GB, free: 1.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 0.5627 GB, free: 1.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.1479, allocations: 27.98 kB / 0.5627 GB, free: 1.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003331/0.1512, allocations: 1.149 MB / 0.5638 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.1517, allocations: 107.8 kB / 0.564 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1517, allocations: 0 / 0.564 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1519, allocations: 55.89 kB / 0.564 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.1526, allocations: 24.11 kB / 0.564 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.156, allocations: 1.878 MB / 0.5659 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.1564, allocations: 0.7157 MB / 0.5666 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.573e-05/0.1565, allocations: 16.55 kB / 0.5666 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1566, allocations: 39.42 kB / 0.5666 GB, free: 13.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1566, allocations: 0 / 0.5666 GB, free: 13.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.1806, allocations: 3.525 MB / 0.5701 GB, free: 10.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.27, allocations: 11.48 kB / 0.5701 GB, free: 10.1 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.320707038976252] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.39136452274397 8.408679707 8.269324632 Calling exit ...