Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001387/0.001387, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001435/0.001435, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.473/1.473, 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.2317/0.2317, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",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.002263/0.002263, allocations: 85.03 kB / 0.4912 GB, free: 26.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.111, allocations: 65.97 MB / 0.5557 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003435/0.1145, allocations: 1.675 MB / 0.5573 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1163, allocations: 1.182 MB / 0.5585 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.1164, allocations: 0 / 0.5585 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1166, allocations: 19.86 kB / 0.5585 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.117, allocations: 91.61 kB / 0.5586 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1173, allocations: 135.4 kB / 0.5587 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1175, allocations: 79.7 kB / 0.5588 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1176, allocations: 12.22 kB / 0.5588 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.1177, allocations: 35.84 kB / 0.5588 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1178, allocations: 39.78 kB / 0.5589 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1179, allocations: 4 kB / 0.5589 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.118, allocations: 99.92 kB / 0.559 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1181, allocations: 23.91 kB / 0.559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.1182, allocations: 31.8 kB / 0.559 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1185, allocations: 151.5 kB / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1185, allocations: 0 / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1185, allocations: 0 / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1185, allocations: 3.938 kB / 0.5592 GB, free: 5.543 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.0006715/0.1191, allocations: 422.7 kB / 0.5596 GB, free: 5.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1192, allocations: 12.03 kB / 0.5596 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.1192, allocations: 30.75 kB / 0.5596 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1193, allocations: 12.89 kB / 0.5596 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1195, allocations: 196.2 kB / 0.5598 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1195, allocations: 384 / 0.5598 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1196, allocations: 8.328 kB / 0.5598 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1197, allocations: 71.94 kB / 0.5599 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1198, allocations: 3.938 kB / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1198, allocations: 4 kB / 0.5599 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1198, allocations: 0 / 0.5599 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1199, allocations: 39.97 kB / 0.5599 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1203, allocations: 304.7 kB / 0.5602 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1205, allocations: 34.56 kB / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.1205, allocations: 24.94 kB / 0.5603 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1206, allocations: 4 kB / 0.5603 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1206, allocations: 34.56 kB / 0.5603 GB, free: 4.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1206, allocations: 0 / 0.5603 GB, free: 4.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008025/0.1214, allocations: 213.3 kB / 0.5605 GB, free: 3.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.1215, allocations: 85.05 kB / 0.5606 GB, free: 3.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1216, allocations: 144.6 kB / 0.5607 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1217, allocations: 33.7 kB / 0.5608 GB, free: 3.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.1217, allocations: 100.1 kB / 0.5609 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1218, allocations: 23.81 kB / 0.5609 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.1218, allocations: 25.7 kB / 0.5609 GB, free: 3.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.122, allocations: 326.8 kB / 0.5612 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1221, allocations: 35.97 kB / 0.5612 GB, free: 3.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1222, allocations: 41.69 kB / 0.5613 GB, free: 3.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1224, allocations: 72.81 kB / 0.5614 GB, free: 3.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1224, allocations: 4.031 kB / 0.5614 GB, free: 3.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003149/0.1228, allocations: 121.8 kB / 0.5615 GB, free: 2.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1228, allocations: 4 kB / 0.5615 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1228, allocations: 0 / 0.5615 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1228, allocations: 0 / 0.5615 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1229, allocations: 27.92 kB / 0.5615 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1229, allocations: 3.984 kB / 0.5615 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.123, allocations: 12 kB / 0.5615 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.123, allocations: 0 / 0.5615 GB, free: 2.859 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 (7): * Single equations (assignments): 7 * 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.0001053/0.1231, allocations: 121.8 kB / 0.5616 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.1231, allocations: 7.953 kB / 0.5616 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.1235, allocations: 130.3 kB / 0.5618 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1235, allocations: 4.281 kB / 0.5618 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1235, allocations: 0 / 0.5618 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1235, allocations: 0 / 0.5618 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.1241, allocations: 398.4 kB / 0.5622 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1241, allocations: 3.984 kB / 0.5622 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.1242, allocations: 19.98 kB / 0.5622 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1242, allocations: 0 / 0.5622 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1242, allocations: 4 kB / 0.5622 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1242, allocations: 7.875 kB / 0.5622 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1242, allocations: 0 / 0.5622 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.1245, allocations: 215.4 kB / 0.5624 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.1246, allocations: 89.06 kB / 0.5625 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1246, allocations: 0 / 0.5625 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1247, allocations: 19.92 kB / 0.5625 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1248, allocations: 3.984 kB / 0.5625 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1248, allocations: 8 kB / 0.5625 GB, free: 1.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1249, allocations: 121.6 kB / 0.5626 GB, free: 1.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1249, allocations: 0 / 0.5626 GB, free: 1.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1252, allocations: 39.88 kB / 0.5627 GB, free: 1.582 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 (7): * Single equations (assignments): 7 * 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.002308/0.1275, allocations: 1.136 MB / 0.5638 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.1278, allocations: 67.94 kB / 0.5638 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1278, allocations: 8 kB / 0.5638 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1279, allocations: 43.91 kB / 0.5639 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1283, allocations: 21.7 kB / 0.5639 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.1306, allocations: 1.597 MB / 0.5655 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1309, allocations: 0.6924 MB / 0.5661 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.518e-05/0.131, allocations: 20.95 kB / 0.5662 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.1311, allocations: 31.42 kB / 0.5662 GB, free: 14.01 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1311, allocations: 4 kB / 0.5662 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1589, allocations: 3.539 MB / 0.5697 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.354, allocations: 3.938 kB / 0.5697 GB, free: 10.49 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.251923685893416] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.480959801003337 8.503465505 8.380886203 Calling exit ...