Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001642/0.001642, 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.001897/0.001897, 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.554/1.554, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2227/0.2227, allocations: 46.88 MB / 357.4 MB, free: 10.56 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002332/0.002332, allocations: 73.59 kB / 0.4912 GB, free: 26.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1225, allocations: 65.98 MB / 0.5557 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003318/0.1258, allocations: 1.679 MB / 0.5573 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1269, allocations: 0.5643 MB / 0.5579 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.1269, allocations: 0 / 0.5579 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1272, allocations: 71.7 kB / 0.5579 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.1275, allocations: 103.6 kB / 0.558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.1278, allocations: 139.4 kB / 0.5582 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.128, allocations: 91.81 kB / 0.5583 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1281, allocations: 16.44 kB / 0.5583 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.1282, allocations: 39.78 kB / 0.5583 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1283, allocations: 63.8 kB / 0.5584 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1283, allocations: 4 kB / 0.5584 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1284, allocations: 47.98 kB / 0.5584 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.1285, allocations: 31.84 kB / 0.5585 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1285, allocations: 39.73 kB / 0.5585 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1287, allocations: 123.4 kB / 0.5586 GB, free: 6.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1288, allocations: 3.938 kB / 0.5586 GB, free: 6.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1288, allocations: 0 / 0.5586 GB, free: 6.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1288, allocations: 0 / 0.5586 GB, free: 6.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.000646/0.1294, allocations: 434.6 kB / 0.559 GB, free: 5.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1294, allocations: 12.03 kB / 0.559 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1295, allocations: 34.75 kB / 0.5591 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1295, allocations: 12.84 kB / 0.5591 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1298, allocations: 216.1 kB / 0.5593 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1298, allocations: 384 / 0.5593 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1298, allocations: 8.375 kB / 0.5593 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.13, allocations: 62.17 kB / 0.5594 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.13, allocations: 3.938 kB / 0.5594 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.13, allocations: 0 / 0.5594 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.13, allocations: 7.984 kB / 0.5594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1302, allocations: 35.97 kB / 0.5594 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1307, allocations: 316.7 kB / 0.5597 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1309, allocations: 54.55 kB / 0.5598 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.131, allocations: 28.91 kB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.131, allocations: 0 / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1311, allocations: 34.66 kB / 0.5598 GB, free: 4.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1311, allocations: 3.938 kB / 0.5598 GB, free: 4.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001433/0.1325, allocations: 397.5 kB / 0.5602 GB, free: 4.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.1326, allocations: 51.41 kB / 0.5603 GB, free: 4.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1328, allocations: 234 kB / 0.5605 GB, free: 3.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1328, allocations: 25.7 kB / 0.5605 GB, free: 3.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.1329, allocations: 112.1 kB / 0.5606 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.133, allocations: 35.7 kB / 0.5606 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.133, allocations: 25.7 kB / 0.5607 GB, free: 3.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1332, allocations: 326.8 kB / 0.561 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1333, allocations: 44.03 kB / 0.561 GB, free: 3.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1334, allocations: 43.97 kB / 0.5611 GB, free: 3.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.1337, allocations: 108.9 kB / 0.5612 GB, free: 3.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1337, allocations: 0 / 0.5612 GB, free: 3.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003093/0.134, allocations: 145.5 kB / 0.5613 GB, free: 3.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.134, allocations: 5.875 kB / 0.5613 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.134, allocations: 0 / 0.5613 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.134, allocations: 3.938 kB / 0.5613 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1341, allocations: 35.97 kB / 0.5613 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1341, allocations: 3.938 kB / 0.5614 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.1342, allocations: 7.984 kB / 0.5614 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1342, allocations: 4 kB / 0.5614 GB, free: 3.051 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 (11): * Single equations (assignments): 11 * 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.000125/0.1343, allocations: 141.7 kB / 0.5615 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1344, allocations: 15.84 kB / 0.5615 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.1348, allocations: 163 kB / 0.5617 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1348, allocations: 0 / 0.5617 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1348, allocations: 3.938 kB / 0.5617 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1348, allocations: 0 / 0.5617 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.1355, allocations: 480 kB / 0.5621 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1355, allocations: 3.938 kB / 0.5621 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1356, allocations: 27.97 kB / 0.5622 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1356, allocations: 0 / 0.5622 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1356, allocations: 7.938 kB / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1356, allocations: 0 / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1356, allocations: 8.062 kB / 0.5622 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.136, allocations: 249.1 kB / 0.5624 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.136, allocations: 92.95 kB / 0.5625 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1361, allocations: 12 kB / 0.5625 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.1362, allocations: 7.984 kB / 0.5625 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.1362, allocations: 15.92 kB / 0.5625 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1362, allocations: 4 kB / 0.5625 GB, free: 1.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1364, allocations: 168.8 kB / 0.5627 GB, free: 1.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1364, allocations: 0 / 0.5627 GB, free: 1.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1367, allocations: 23.98 kB / 0.5627 GB, free: 1.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002377/0.139, allocations: 1.154 MB / 0.5639 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.1394, allocations: 103.8 kB / 0.564 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1394, allocations: 0 / 0.564 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1395, allocations: 63.89 kB / 0.564 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1399, allocations: 26.78 kB / 0.564 GB, free: 344 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.1425, allocations: 1.881 MB / 0.5659 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1429, allocations: 0.7119 MB / 0.5666 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.143, allocations: 16.55 kB / 0.5666 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.143, allocations: 39.42 kB / 0.5666 GB, free: 13.57 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.143, allocations: 0 / 0.5666 GB, free: 13.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1684, allocations: 3.532 MB / 0.5701 GB, free: 10.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.301, allocations: 3.984 kB / 0.5701 GB, free: 10.1 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.304325212724507] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.429330390878022 8.457193713 8.323358437 Calling exit ...