Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001931/0.001931, 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.003106/0.003106, 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.553/1.553, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2405/0.2405, allocations: 46.88 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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.002366/0.002366, allocations: 87.86 kB / 0.4912 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1375, allocations: 65.97 MB / 0.5557 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003025/0.1405, allocations: 1.669 MB / 0.5573 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1416, allocations: 0.5566 MB / 0.5578 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.1417, allocations: 0 / 0.5578 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1419, allocations: 43.77 kB / 0.5579 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1422, allocations: 79.61 kB / 0.558 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1425, allocations: 118.8 kB / 0.5581 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1427, allocations: 91.75 kB / 0.5582 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1428, allocations: 19.98 kB / 0.5582 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.1428, allocations: 31.84 kB / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.1429, allocations: 39.84 kB / 0.5583 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1429, allocations: 11.94 kB / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.143, allocations: 51.97 kB / 0.5583 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1431, allocations: 27.86 kB / 0.5583 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1431, allocations: 23.81 kB / 0.5584 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1434, allocations: 119.5 kB / 0.5585 GB, free: 3.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1434, allocations: 0 / 0.5585 GB, free: 3.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1434, allocations: 0 / 0.5585 GB, free: 3.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1434, allocations: 0 / 0.5585 GB, free: 3.508 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.0005216/0.1439, allocations: 410.8 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1439, allocations: 16.03 kB / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.144, allocations: 42.67 kB / 0.5589 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.144, allocations: 12.84 kB / 0.5589 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1442, allocations: 200.2 kB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1443, allocations: 8.375 kB / 0.5591 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1443, allocations: 4.375 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1445, allocations: 70.22 kB / 0.5592 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1445, allocations: 7.875 kB / 0.5592 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1445, allocations: 8 kB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1445, allocations: 0 / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1446, allocations: 47.91 kB / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.1451, allocations: 328.7 kB / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1452, allocations: 66.48 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1453, allocations: 28.78 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1453, allocations: 12.14 kB / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1454, allocations: 34.55 kB / 0.5597 GB, free: 2.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1454, allocations: 0 / 0.5597 GB, free: 2.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001073/0.1464, allocations: 325.6 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.1465, allocations: 55.34 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1466, allocations: 160.2 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1467, allocations: 29.7 kB / 0.5603 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.1467, allocations: 108 kB / 0.5604 GB, free: 1.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.1468, allocations: 43.62 kB / 0.5604 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.1468, allocations: 29.66 kB / 0.5604 GB, free: 1.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.147, allocations: 322.8 kB / 0.5607 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1471, allocations: 52.09 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.1472, allocations: 43.97 kB / 0.5608 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1474, allocations: 116.7 kB / 0.5609 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1474, allocations: 0 / 0.5609 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002893/0.1477, allocations: 149.5 kB / 0.5611 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1477, allocations: 4 kB / 0.5611 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1477, allocations: 11.94 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1477, allocations: 0 / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1479, allocations: 27.92 kB / 0.5611 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1479, allocations: 0 / 0.5611 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.1479, allocations: 11.92 kB / 0.5611 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1479, allocations: 4 kB / 0.5611 GB, free: 0.543 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 (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.0001098/0.148, allocations: 121.8 kB / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1481, allocations: 7.953 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.1485, allocations: 198.2 kB / 0.5615 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1485, allocations: 4 kB / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1485, allocations: 0 / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1485, allocations: 0 / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1492, allocations: 487.2 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1492, allocations: 4.031 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.1493, allocations: 31.97 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1493, allocations: 0 / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1493, allocations: 7.938 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1493, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1493, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.1497, allocations: 256.2 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.1497, allocations: 89.05 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1498, allocations: 11.94 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.1498, allocations: 0 / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1499, allocations: 11.98 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1499, allocations: 11.94 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.15, allocations: 130.2 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.15, allocations: 0 / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1503, allocations: 20 kB / 0.5625 GB, free: 15.07 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.00226/0.1525, allocations: 1.138 MB / 0.5636 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.1528, allocations: 115.8 kB / 0.5637 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1528, allocations: 0 / 0.5637 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.153, allocations: 59.91 kB / 0.5638 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1533, allocations: 23.98 kB / 0.5638 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.1556, allocations: 1.756 MB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.156, allocations: 0.708 MB / 0.5662 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.566e-05/0.1561, allocations: 28.52 kB / 0.5662 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.1562, allocations: 39.42 kB / 0.5662 GB, free: 11.24 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1562, allocations: 3.938 kB / 0.5663 GB, free: 11.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1829, allocations: 3.307 MB / 0.5695 GB, free: 7.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.228, allocations: 2.109 kB / 0.5695 GB, free: 7.988 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.289511885959655] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'clock.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.354667101986706 8.377557722 8.229869431000001 Calling exit ...