Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001848/0.001848, 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.002399/0.002399, 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.565/1.565, 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.2531/0.2531, allocations: 46.89 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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.003327/0.003327, allocations: 77.19 kB / 0.4913 GB, free: 26.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1395, allocations: 65.98 MB / 0.5557 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.0038/0.1433, allocations: 1.683 MB / 0.5573 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1445, allocations: 0.5839 MB / 0.5579 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.1445, allocations: 0 / 0.5579 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1448, allocations: 75.77 kB / 0.558 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1451, allocations: 103.6 kB / 0.5581 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1455, allocations: 174.2 kB / 0.5582 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1458, allocations: 99.67 kB / 0.5583 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1459, allocations: 24.44 kB / 0.5584 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.146, allocations: 35.84 kB / 0.5584 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1461, allocations: 63.8 kB / 0.5584 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1461, allocations: 4 kB / 0.5585 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1462, allocations: 51.92 kB / 0.5585 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1463, allocations: 35.84 kB / 0.5585 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.1463, allocations: 39.73 kB / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1466, allocations: 115.5 kB / 0.5587 GB, free: 5.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1466, allocations: 4 kB / 0.5587 GB, free: 5.992 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1466, allocations: 0 / 0.5587 GB, free: 5.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1466, allocations: 0 / 0.5587 GB, free: 5.992 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.0007174/0.1473, allocations: 442.5 kB / 0.5591 GB, free: 5.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1474, allocations: 8.031 kB / 0.5591 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1474, allocations: 38.75 kB / 0.5592 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1475, allocations: 16.84 kB / 0.5592 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1477, allocations: 220 kB / 0.5594 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-06/0.1477, allocations: 384 / 0.5594 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1478, allocations: 8.375 kB / 0.5594 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.148, allocations: 66.17 kB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.148, allocations: 7.922 kB / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.148, allocations: 0 / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.148, allocations: 0 / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1481, allocations: 43.97 kB / 0.5595 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1487, allocations: 332.7 kB / 0.5598 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.1489, allocations: 58.53 kB / 0.5599 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.149, allocations: 24.97 kB / 0.5599 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.149, allocations: 4 kB / 0.5599 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.149, allocations: 34.56 kB / 0.5599 GB, free: 4.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.149, allocations: 0 / 0.5599 GB, free: 4.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001534/0.1506, allocations: 425.5 kB / 0.5603 GB, free: 4.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1506, allocations: 63.41 kB / 0.5604 GB, free: 4.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1509, allocations: 227.1 kB / 0.5606 GB, free: 3.809 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1509, allocations: 29.7 kB / 0.5606 GB, free: 3.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.151, allocations: 104.1 kB / 0.5607 GB, free: 3.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.1511, allocations: 47.61 kB / 0.5608 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.1511, allocations: 29.66 kB / 0.5608 GB, free: 3.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1513, allocations: 322.8 kB / 0.5611 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1514, allocations: 60.02 kB / 0.5612 GB, free: 3.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1515, allocations: 55.95 kB / 0.5612 GB, free: 3.148 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.1518, allocations: 125 kB / 0.5614 GB, free: 3.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1518, allocations: 0 / 0.5614 GB, free: 3.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003455/0.1522, allocations: 177.4 kB / 0.5615 GB, free: 2.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1522, allocations: 4 kB / 0.5615 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1522, allocations: 0 / 0.5615 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1522, allocations: 4 kB / 0.5615 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1523, allocations: 27.98 kB / 0.5616 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.1523, allocations: 3.938 kB / 0.5616 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1524, allocations: 11.98 kB / 0.5616 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1524, allocations: 0 / 0.5616 GB, free: 2.793 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.00012/0.1525, allocations: 133.8 kB / 0.5617 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1526, allocations: 15.91 kB / 0.5617 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.153, allocations: 198.8 kB / 0.5619 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.153, allocations: 4 kB / 0.5619 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.153, allocations: 3.938 kB / 0.5619 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.153, allocations: 0 / 0.5619 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/0.1538, allocations: 0.5 MB / 0.5624 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1538, allocations: 3.938 kB / 0.5624 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1539, allocations: 27.97 kB / 0.5624 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1539, allocations: 4 kB / 0.5624 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1539, allocations: 4 kB / 0.5624 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1539, allocations: 8.062 kB / 0.5625 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1539, allocations: 0 / 0.5625 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.1543, allocations: 273 kB / 0.5627 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.1544, allocations: 96.95 kB / 0.5628 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1544, allocations: 4 kB / 0.5628 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1545, allocations: 11.98 kB / 0.5628 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1546, allocations: 7.984 kB / 0.5628 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1546, allocations: 8 kB / 0.5628 GB, free: 1.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1547, allocations: 168.3 kB / 0.563 GB, free: 1.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1547, allocations: 96 / 0.563 GB, free: 1.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.155, allocations: 31.88 kB / 0.563 GB, free: 1.184 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.002343/0.1573, allocations: 1.165 MB / 0.5642 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.1577, allocations: 127.8 kB / 0.5643 GB, free: 44 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1577, allocations: 4 kB / 0.5643 GB, free: 40 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1579, allocations: 67.97 kB / 0.5644 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1583, allocations: 23.73 kB / 0.5644 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.161, allocations: 1.975 MB / 0.5663 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1614, allocations: 0.7236 MB / 0.567 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1615, allocations: 36.52 kB / 0.567 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.19e-05/0.1616, allocations: 43.42 kB / 0.5671 GB, free: 13.05 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1616, allocations: 0 / 0.5671 GB, free: 13.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.1932, allocations: 3.663 MB / 0.5707 GB, free: 9.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.158, allocations: 14.97 kB / 0.5707 GB, free: 9.445 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.395914806053042] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.27919873315841 8.292061905 8.142629253 Calling exit ...