Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001634/0.001634, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001482/0.001482, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.535/1.535, 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.2554/0.2554, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002331/0.002331, allocations: 80.05 kB / 0.4912 GB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1353, allocations: 65.98 MB / 0.5557 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003334/0.1386, allocations: 1.691 MB / 0.5573 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1399, allocations: 0.5762 MB / 0.5579 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.1399, allocations: 3.938 kB / 0.5579 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.1406, allocations: 463.1 kB / 0.5583 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.141, allocations: 291.3 kB / 0.5586 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.1415, allocations: 183.2 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1418, allocations: 179.7 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1419, allocations: 12.23 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.142, allocations: 119.7 kB / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.1423, allocations: 247.5 kB / 0.5593 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1424, allocations: 4 kB / 0.5593 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1425, allocations: 51.92 kB / 0.5594 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1426, allocations: 87.62 kB / 0.5595 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1427, allocations: 111 kB / 0.5596 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.1431, allocations: 278.6 kB / 0.5598 GB, free: 2.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1431, allocations: 0 / 0.5598 GB, free: 2.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1431, allocations: 0 / 0.5598 GB, free: 2.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1431, allocations: 0 / 0.5598 GB, free: 2.102 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.0008403/0.1439, allocations: 0.6839 MB / 0.5605 GB, free: 1.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.144, allocations: 12.03 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.144, allocations: 34.75 kB / 0.5605 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.1441, allocations: 44.66 kB / 0.5606 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.1444, allocations: 312.5 kB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1444, allocations: 4.375 kB / 0.5609 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1445, allocations: 4.375 kB / 0.5609 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1446, allocations: 62.17 kB / 0.561 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1446, allocations: 3.938 kB / 0.561 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1447, allocations: 4 kB / 0.561 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1447, allocations: 8 kB / 0.561 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1448, allocations: 31.91 kB / 0.561 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.1454, allocations: 408.7 kB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1456, allocations: 46.59 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.1456, allocations: 20.94 kB / 0.5615 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1456, allocations: 4 kB / 0.5615 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1457, allocations: 30.56 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1457, allocations: 4 kB / 0.5615 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00103/0.1467, allocations: 332.5 kB / 0.5618 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1467, allocations: 51.41 kB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.1477, allocations: 0.8776 MB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1477, allocations: 25.7 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.148, allocations: 228.1 kB / 0.563 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.148, allocations: 27.75 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.1481, allocations: 21.7 kB / 0.563 GB, free: 14.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1483, allocations: 370.8 kB / 0.5634 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.1484, allocations: 31.92 kB / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1485, allocations: 31.98 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1487, allocations: 73.06 kB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1487, allocations: 0 / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002694/0.1489, allocations: 153.3 kB / 0.5636 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1489, allocations: 12 kB / 0.5636 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1489, allocations: 3.984 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.149, allocations: 3.938 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1491, allocations: 15.94 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1491, allocations: 4 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.1491, allocations: 16.34 kB / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1491, allocations: 0 / 0.5637 GB, free: 13.91 MB / 430.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.000209/0.1494, allocations: 217.8 kB / 0.5639 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.1494, allocations: 39.72 kB / 0.5639 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.1498, allocations: 177.5 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1498, allocations: 3.984 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1498, allocations: 0 / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1498, allocations: 3.938 kB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/0.1506, allocations: 0.5304 MB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1506, allocations: 3.938 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.1506, allocations: 15.98 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1506, allocations: 7.938 kB / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1506, allocations: 0 / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1506, allocations: 0 / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1507, allocations: 0 / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.151, allocations: 256.1 kB / 0.5649 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1511, allocations: 124.7 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1511, allocations: 0 / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.1512, allocations: 7.984 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1512, allocations: 8 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1513, allocations: 4 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007759/0.152, allocations: 0.6589 MB / 0.5657 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.152, allocations: 0 / 0.5657 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1523, allocations: 35.94 kB / 0.5657 GB, free: 11.71 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.002343/0.1546, allocations: 1.137 MB / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1549, allocations: 75.94 kB / 0.5669 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1549, allocations: 0 / 0.5669 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.155, allocations: 47.97 kB / 0.5669 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1554, allocations: 29.92 kB / 0.567 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.1597, allocations: 3.38 MB / 0.5703 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.1603, allocations: 0.8337 MB / 0.5711 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.19e-05/0.1604, allocations: 32.72 kB / 0.5711 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.1605, allocations: 119.4 kB / 0.5712 GB, free: 6.098 MB / 430.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1605, allocations: 0 / 0.5712 GB, free: 6.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.191, allocations: 6.505 MB / 0.5776 GB, free: 15.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/8.797, allocations: 6.594 kB / 0.5776 GB, free: 15.64 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.924194415099919] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 8.921559091191739 8.942885964 8.796576709 Calling exit ...