Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001566/0.001566, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.002297/0.002297, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.552/1.552, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2841/0.2841, allocations: 46.89 MB / 357.4 MB, free: 10.59 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",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.002317/0.002317, allocations: 79.86 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1351, allocations: 65.99 MB / 0.5557 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003389/0.1385, allocations: 1.621 MB / 0.5573 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1396, allocations: 0.541 MB / 0.5578 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.1397, allocations: 0 / 0.5578 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1401, allocations: 83.7 kB / 0.5579 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.1404, allocations: 103.6 kB / 0.558 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1407, allocations: 91 kB / 0.5581 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.141, allocations: 87.75 kB / 0.5581 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1411, allocations: 8 kB / 0.5582 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.1411, allocations: 39.89 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1413, allocations: 67.73 kB / 0.5583 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1413, allocations: 4 kB / 0.5583 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1414, allocations: 51.92 kB / 0.5583 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.1415, allocations: 15.92 kB / 0.5583 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.1415, allocations: 35.73 kB / 0.5584 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1417, allocations: 99.58 kB / 0.5585 GB, free: 3.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1417, allocations: 0 / 0.5585 GB, free: 3.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1417, allocations: 4 kB / 0.5585 GB, free: 3.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1417, allocations: 0 / 0.5585 GB, free: 3.566 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.0005859/0.1423, allocations: 422.7 kB / 0.5589 GB, free: 3.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1424, allocations: 8.031 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1424, allocations: 30.75 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1424, allocations: 20.78 kB / 0.5589 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1427, allocations: 200.9 kB / 0.5591 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1427, allocations: 4.375 kB / 0.5591 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1427, allocations: 4.375 kB / 0.5591 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1429, allocations: 54.22 kB / 0.5592 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.1429, allocations: 11.86 kB / 0.5592 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1429, allocations: 4 kB / 0.5592 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1429, allocations: 4 kB / 0.5592 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.143, allocations: 27.97 kB / 0.5592 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.1435, allocations: 296.7 kB / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1436, allocations: 42.56 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.1436, allocations: 12.94 kB / 0.5596 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1437, allocations: 4 kB / 0.5596 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.1437, allocations: 38.56 kB / 0.5596 GB, free: 2.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1437, allocations: 3.938 kB / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008648/0.1446, allocations: 217.3 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1446, allocations: 51.41 kB / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.1448, allocations: 210.4 kB / 0.5601 GB, free: 1.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1449, allocations: 29.7 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.1449, allocations: 112 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.145, allocations: 27.86 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.145, allocations: 21.72 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1452, allocations: 326.8 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.1452, allocations: 27.98 kB / 0.5606 GB, free: 1.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.1453, allocations: 31.91 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1455, allocations: 60.83 kB / 0.5607 GB, free: 1.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1455, allocations: 0 / 0.5607 GB, free: 1.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002048/0.1457, allocations: 97.56 kB / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1457, allocations: 4 kB / 0.5608 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1457, allocations: 4.312 kB / 0.5608 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1457, allocations: 0 / 0.5608 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1458, allocations: 19.98 kB / 0.5608 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1458, allocations: 0 / 0.5608 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1459, allocations: 15.92 kB / 0.5608 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1459, allocations: 7.922 kB / 0.5608 GB, free: 0.9219 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.0001081/0.146, allocations: 121.8 kB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.146, allocations: 15.89 kB / 0.5609 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1463, allocations: 127 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1463, allocations: 4 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1463, allocations: 3.984 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1463, allocations: 0 / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.1469, allocations: 407.2 kB / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1469, allocations: 0 / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.147, allocations: 28.02 kB / 0.5615 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.147, allocations: 0 / 0.5615 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.147, allocations: 3.938 kB / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.147, allocations: 0 / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.147, allocations: 7.938 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1473, allocations: 204.8 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1474, allocations: 85.02 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1474, allocations: 7.938 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.1475, allocations: 11.98 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1475, allocations: 3.984 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1475, allocations: 4 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1476, allocations: 164.2 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1476, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1479, allocations: 19.98 kB / 0.562 GB, free: 15.61 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.00221/0.1501, allocations: 1.094 MB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.1503, allocations: 67.89 kB / 0.5631 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1503, allocations: 0 / 0.5631 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.1504, allocations: 35.97 kB / 0.5631 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.1508, allocations: 18.42 kB / 0.5632 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1529, allocations: 1.68 MB / 0.5648 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1532, allocations: 0.7002 MB / 0.5655 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.1533, allocations: 20.59 kB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.1533, allocations: 35.42 kB / 0.5655 GB, free: 12 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1533, allocations: 0 / 0.5655 GB, free: 12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1791, allocations: 3.139 MB / 0.5686 GB, free: 8.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.277, allocations: 7.031 kB / 0.5686 GB, free: 8.922 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.439002717845142] 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.405596777796745 8.433189925 8.286415778 Calling exit ...