Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001786/0.001786, allocations: 117.8 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.002049/0.002049, allocations: 216.9 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.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2244/0.2244, allocations: 46.87 MB / 357.4 MB, free: 10.52 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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",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.002293/0.002293, allocations: 75.88 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1188, allocations: 65.98 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003312/0.1221, allocations: 1.863 MB / 0.5575 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1238, allocations: 1.028 MB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1238, allocations: 0 / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1241, allocations: 63.67 kB / 0.5586 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1244, allocations: 123.4 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.1248, allocations: 162.9 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1251, allocations: 195.5 kB / 0.559 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.1252, allocations: 21.53 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1253, allocations: 79.75 kB / 0.5591 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1255, allocations: 111.6 kB / 0.5592 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1255, allocations: 12 kB / 0.5592 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.1256, allocations: 39.98 kB / 0.5593 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.1257, allocations: 51.81 kB / 0.5593 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1258, allocations: 67.59 kB / 0.5594 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1261, allocations: 191.2 kB / 0.5596 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1261, allocations: 4 kB / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1261, allocations: 0 / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1261, allocations: 0 / 0.5596 GB, free: 2.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001149/0.1272, allocations: 0.5875 MB / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1273, allocations: 12.03 kB / 0.5602 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.1273, allocations: 34.75 kB / 0.5602 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.1274, allocations: 16.84 kB / 0.5602 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1276, allocations: 241.6 kB / 0.5604 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1277, allocations: 8.312 kB / 0.5604 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.1277, allocations: 8.312 kB / 0.5605 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.1282, allocations: 153.7 kB / 0.5606 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1282, allocations: 0 / 0.5606 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1282, allocations: 0 / 0.5606 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1282, allocations: 0 / 0.5606 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.1289, allocations: 163.8 kB / 0.5608 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.1294, allocations: 368.6 kB / 0.5611 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.1301, allocations: 198.3 kB / 0.5613 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.1305, allocations: 96.75 kB / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1305, allocations: 0 / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005378/0.1311, allocations: 155.2 kB / 0.5615 GB, free: 212 kB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1311, allocations: 4 kB / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003543/0.1346, allocations: 0.8244 MB / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1347, allocations: 55.41 kB / 0.5624 GB, free: 15.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.135, allocations: 249.5 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.135, allocations: 37.7 kB / 0.5627 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.1351, allocations: 128.1 kB / 0.5628 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.1351, allocations: 39.78 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.1352, allocations: 33.7 kB / 0.5629 GB, free: 14.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1354, allocations: 334.9 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/0.136, allocations: 175.7 kB / 0.5634 GB, free: 14.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.1367, allocations: 163.8 kB / 0.5635 GB, free: 14.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.138, allocations: 365.5 kB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.138, allocations: 0.5625 kB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001512/0.1395, allocations: 467 kB / 0.5643 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/0.1395, allocations: 59.39 kB / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1395, allocations: 0 / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1395, allocations: 4 kB / 0.5644 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.14, allocations: 67.91 kB / 0.5644 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.14, allocations: 7.938 kB / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.1404, allocations: 67.83 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1404, allocations: 12 kB / 0.5645 GB, free: 13.06 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001362/0.1405, allocations: 129.8 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1406, allocations: 23.84 kB / 0.5647 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.1421, allocations: 406.8 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1421, allocations: 4 kB / 0.5651 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1421, allocations: 0 / 0.5651 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1421, allocations: 3.938 kB / 0.5651 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1438, allocations: 0.7121 MB / 0.5658 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1438, allocations: 0 / 0.5658 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.1442, allocations: 63.91 kB / 0.5658 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1442, allocations: 0 / 0.5658 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.1442, allocations: 15.94 kB / 0.5658 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1442, allocations: 0 / 0.5658 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1442, allocations: 0 / 0.5658 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.1457, allocations: 479 kB / 0.5663 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1457, allocations: 97 kB / 0.5664 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1458, allocations: 11.94 kB / 0.5664 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.1462, allocations: 59.91 kB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.1463, allocations: 47.94 kB / 0.5665 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1464, allocations: 4 kB / 0.5665 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.1466, allocations: 188.5 kB / 0.5667 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1466, allocations: 4 kB / 0.5667 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.1469, allocations: 51.88 kB / 0.5667 GB, free: 10.69 MB / 430.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003149/0.15, allocations: 1.306 MB / 0.568 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.1516, allocations: 469.6 kB / 0.5685 GB, free: 9.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1516, allocations: 0 / 0.5685 GB, free: 9.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.1523, allocations: 171.8 kB / 0.5686 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1527, allocations: 44.55 kB / 0.5687 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.1587, allocations: 2.837 MB / 0.5714 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1591, allocations: 0.7319 MB / 0.5721 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1592, allocations: 17.38 kB / 0.5722 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1593, allocations: 59.41 kB / 0.5722 GB, free: 5.047 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1593, allocations: 3.938 kB / 0.5722 GB, free: 5.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.187, allocations: 5.777 MB / 0.5779 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/8.686, allocations: 6.734 kB / 0.5779 GB, free: 15.32 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.589666557032615] Failed to read output from testmodel.py, exit status != 0: 8.819642636924982 8.843258338 8.712830292 Calling exit ...