Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001318/0.001318, allocations: 122.7 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.001366/0.001366, 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.561/1.561, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2402/0.2402, allocations: 46.88 MB / 357.4 MB, free: 10.5 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",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.002219/0.002219, allocations: 75.88 kB / 0.4912 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1312, allocations: 65.99 MB / 0.5557 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003343/0.1345, allocations: 1.667 MB / 0.5573 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1357, allocations: 0.5528 MB / 0.5579 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1358, allocations: 0 / 0.5579 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1361, allocations: 99.67 kB / 0.5579 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.1364, allocations: 115.6 kB / 0.5581 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.1369, allocations: 115.2 kB / 0.5582 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1371, allocations: 99.73 kB / 0.5583 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1372, allocations: 23.92 kB / 0.5583 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.1373, allocations: 51.83 kB / 0.5583 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1374, allocations: 71.73 kB / 0.5584 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1374, allocations: 4 kB / 0.5584 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1375, allocations: 51.92 kB / 0.5585 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.1376, allocations: 27.91 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.1376, allocations: 43.67 kB / 0.5585 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1379, allocations: 131.4 kB / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1379, allocations: 0 / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1379, allocations: 0 / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1379, allocations: 0 / 0.5587 GB, free: 3.34 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005799/0.1384, allocations: 442.6 kB / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1385, allocations: 12.03 kB / 0.5591 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1385, allocations: 38.73 kB / 0.5591 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1386, allocations: 16.84 kB / 0.5591 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1388, allocations: 208.1 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1388, allocations: 8.375 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1388, allocations: 4.375 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.139, allocations: 70.22 kB / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1391, allocations: 19.83 kB / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1391, allocations: 8 kB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1391, allocations: 0 / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1392, allocations: 39.97 kB / 0.5595 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.1397, allocations: 344.7 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1399, allocations: 62.5 kB / 0.5599 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.1399, allocations: 28.84 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.14, allocations: 3.984 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.14, allocations: 30.56 kB / 0.5599 GB, free: 1.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.14, allocations: 0 / 0.5599 GB, free: 1.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.1411, allocations: 337.2 kB / 0.5603 GB, free: 1.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1411, allocations: 59.28 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.1414, allocations: 235.5 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1414, allocations: 29.7 kB / 0.5606 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.1415, allocations: 116 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.1416, allocations: 43.64 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1416, allocations: 25.7 kB / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1418, allocations: 330.8 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1419, allocations: 43.97 kB / 0.5611 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.142, allocations: 47.97 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1422, allocations: 104.3 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1422, allocations: 0 / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003138/0.1425, allocations: 165.6 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1425, allocations: 7.938 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1425, allocations: 0 / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1425, allocations: 7.984 kB / 0.5614 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1427, allocations: 27.92 kB / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1427, allocations: 0 / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.1427, allocations: 8 kB / 0.5614 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1427, allocations: 7.984 kB / 0.5615 GB, free: 232 kB / 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 (13): * Single equations (assignments): 13 * 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.0001274/0.1429, allocations: 133.8 kB / 0.5616 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.1429, allocations: 15.91 kB / 0.5616 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.1434, allocations: 203.6 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1434, allocations: 7.938 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1434, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1434, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.1441, allocations: 0.4952 MB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1441, allocations: 0 / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.1442, allocations: 31.92 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1442, allocations: 0 / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1443, allocations: 4 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1443, allocations: 3.984 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1443, allocations: 0 / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1446, allocations: 256.3 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.1447, allocations: 89.02 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1447, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.1448, allocations: 7.984 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1448, allocations: 11.92 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1449, allocations: 4 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.145, allocations: 177.2 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.145, allocations: 8 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1453, allocations: 23.98 kB / 0.5629 GB, free: 14.66 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 (13): * Single equations (assignments): 13 * 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.00242/0.1477, allocations: 1.143 MB / 0.564 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.1481, allocations: 111.9 kB / 0.5641 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1481, allocations: 0 / 0.5641 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1482, allocations: 59.91 kB / 0.5642 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1486, allocations: 27.89 kB / 0.5642 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.151, allocations: 1.917 MB / 0.5661 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1514, allocations: 0.7275 MB / 0.5668 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.1515, allocations: 24.53 kB / 0.5668 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.1516, allocations: 47.41 kB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1516, allocations: 0 / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.1781, allocations: 3.649 MB / 0.5704 GB, free: 7.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.464, allocations: 6.672 kB / 0.5704 GB, free: 7.051 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.513295840006322] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.588960781693459 8.612016551 8.469852118 Calling exit ...