Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001402/0.001402, allocations: 121.9 kB / 18.51 MB, free: 4.535 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.001611/0.001611, allocations: 215.2 kB / 21.46 MB, free: 1.582 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.61/1.61, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2426/0.2426, 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",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.002352/0.002352, allocations: 85.78 kB / 0.4912 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1289, allocations: 65.97 MB / 0.5557 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003367/0.1323, allocations: 1.609 MB / 0.5572 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1342, allocations: 1.171 MB / 0.5584 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.1342, allocations: 4 kB / 0.5584 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1345, allocations: 23.84 kB / 0.5584 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1348, allocations: 79.62 kB / 0.5585 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.135, allocations: 87.7 kB / 0.5586 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1352, allocations: 71.77 kB / 0.5586 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1353, allocations: 11.94 kB / 0.5587 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.1354, allocations: 23.91 kB / 0.5587 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1355, allocations: 35.84 kB / 0.5587 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1355, allocations: 4 kB / 0.5587 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1357, allocations: 107.9 kB / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.1358, allocations: 19.91 kB / 0.5588 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1358, allocations: 15.88 kB / 0.5589 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.136, allocations: 135.5 kB / 0.559 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1361, allocations: 0 / 0.559 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1361, allocations: 0 / 0.559 GB, free: 5.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1361, allocations: 0 / 0.559 GB, free: 5.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000577/0.1366, allocations: 406.8 kB / 0.5594 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1367, allocations: 12.02 kB / 0.5594 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1367, allocations: 34.75 kB / 0.5594 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.1368, allocations: 12.89 kB / 0.5594 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.137, allocations: 196.1 kB / 0.5596 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.137, allocations: 4.375 kB / 0.5596 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1371, allocations: 4.375 kB / 0.5596 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1372, allocations: 63.91 kB / 0.5597 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1373, allocations: 3.938 kB / 0.5597 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1373, allocations: 0 / 0.5597 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1373, allocations: 0 / 0.5597 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.1374, allocations: 27.97 kB / 0.5597 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1378, allocations: 272.9 kB / 0.56 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.138, allocations: 42.5 kB / 0.56 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.138, allocations: 20.94 kB / 0.56 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1381, allocations: 3.984 kB / 0.56 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1381, allocations: 34.56 kB / 0.5601 GB, free: 4.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1381, allocations: 0 / 0.5601 GB, free: 4.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005821/0.1387, allocations: 145.3 kB / 0.5602 GB, free: 4.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.1387, allocations: 77.11 kB / 0.5603 GB, free: 4.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1389, allocations: 143.9 kB / 0.5604 GB, free: 3.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1389, allocations: 37.7 kB / 0.5605 GB, free: 3.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.139, allocations: 88.12 kB / 0.5605 GB, free: 3.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.139, allocations: 19.86 kB / 0.5606 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.139, allocations: 17.72 kB / 0.5606 GB, free: 3.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1392, allocations: 330.7 kB / 0.5609 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.1393, allocations: 11.98 kB / 0.5609 GB, free: 3.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1393, allocations: 41.77 kB / 0.5609 GB, free: 3.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1395, allocations: 44.83 kB / 0.561 GB, free: 3.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1395, allocations: 0 / 0.561 GB, free: 3.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001924/0.1397, allocations: 81.56 kB / 0.5611 GB, free: 3.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1397, allocations: 4 kB / 0.5611 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1397, allocations: 0 / 0.5611 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1397, allocations: 4 kB / 0.5611 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.1398, allocations: 16.02 kB / 0.5611 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1398, allocations: 0 / 0.5611 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.1398, allocations: 15.92 kB / 0.5611 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1398, allocations: 0 / 0.5611 GB, free: 3.254 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 9.79e-05/0.1399, allocations: 117.8 kB / 0.5612 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.14, allocations: 11.89 kB / 0.5612 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.1402, allocations: 93.89 kB / 0.5613 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1403, allocations: 4 kB / 0.5613 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1403, allocations: 0 / 0.5613 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1403, allocations: 0 / 0.5613 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1408, allocations: 354.5 kB / 0.5617 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1408, allocations: 8.25 kB / 0.5617 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.1409, allocations: 11.98 kB / 0.5617 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1409, allocations: 4 kB / 0.5617 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1409, allocations: 4 kB / 0.5617 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1409, allocations: 4 kB / 0.5617 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1409, allocations: 7.938 kB / 0.5617 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1412, allocations: 171.5 kB / 0.5619 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.1412, allocations: 85.05 kB / 0.5619 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1412, allocations: 0 / 0.5619 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.1413, allocations: 4 kB / 0.5619 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1414, allocations: 15.92 kB / 0.562 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1414, allocations: 0 / 0.562 GB, free: 2.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1415, allocations: 113.3 kB / 0.5621 GB, free: 2.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1415, allocations: 0 / 0.5621 GB, free: 2.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1418, allocations: 47.8 kB / 0.5621 GB, free: 2.109 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.002297/0.1441, allocations: 1.088 MB / 0.5632 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1444, allocations: 47.91 kB / 0.5632 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1444, allocations: 0 / 0.5632 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.1445, allocations: 27.97 kB / 0.5632 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1449, allocations: 18.94 kB / 0.5633 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1471, allocations: 1.429 MB / 0.5647 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1474, allocations: 0.6885 MB / 0.5653 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.606e-05/0.1475, allocations: 23.7 kB / 0.5654 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.1476, allocations: 27.42 kB / 0.5654 GB, free: 14.81 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1476, allocations: 0 / 0.5654 GB, free: 14.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.1754, allocations: 3.251 MB / 0.5686 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.283, allocations: 8.844 kB / 0.5686 GB, free: 11.58 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.49032156728208] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.411477273795754 8.433312014 8.293015643 Calling exit ...