Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001836/0.001836, allocations: 120.4 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.002232/0.002232, allocations: 208.9 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.568/1.568, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.252/0.252, 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002262/0.002262, allocations: 79.86 kB / 0.4912 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.148, allocations: 65.98 MB / 0.5557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003417/0.1514, allocations: 1.669 MB / 0.5573 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1526, allocations: 0.5917 MB / 0.5579 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.1527, allocations: 0 / 0.5579 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.1533, allocations: 455.1 kB / 0.5583 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.1538, allocations: 287.3 kB / 0.5586 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.1542, allocations: 182.6 kB / 0.5588 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1545, allocations: 175.6 kB / 0.5589 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1546, allocations: 15.98 kB / 0.5589 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1547, allocations: 119.7 kB / 0.5591 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.155, allocations: 251.5 kB / 0.5593 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1551, allocations: 7.984 kB / 0.5593 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1552, allocations: 35.98 kB / 0.5593 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1553, allocations: 87.62 kB / 0.5594 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1554, allocations: 99 kB / 0.5595 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.1558, allocations: 282.5 kB / 0.5598 GB, free: 2.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1558, allocations: 4 kB / 0.5598 GB, free: 2.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1558, allocations: 0 / 0.5598 GB, free: 2.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1558, allocations: 4 kB / 0.5598 GB, free: 2.172 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.0009556/0.1568, allocations: 0.6646 MB / 0.5604 GB, free: 1.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1568, allocations: 12.03 kB / 0.5605 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.1569, allocations: 34.75 kB / 0.5605 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.157, allocations: 48.64 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.1574, allocations: 300.6 kB / 0.5608 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1574, allocations: 4.375 kB / 0.5608 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.1575, allocations: 4.375 kB / 0.5608 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.1577, allocations: 70.17 kB / 0.5609 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1577, allocations: 7.922 kB / 0.5609 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1577, allocations: 0 / 0.5609 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1577, allocations: 4 kB / 0.5609 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1579, allocations: 43.94 kB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007487/0.1586, allocations: 412.6 kB / 0.5613 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1588, allocations: 54.48 kB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.1588, allocations: 24.94 kB / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1589, allocations: 0 / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1589, allocations: 34.56 kB / 0.5615 GB, free: 304 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1589, allocations: 0 / 0.5615 GB, free: 304 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009659/0.1599, allocations: 316.6 kB / 0.5618 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1599, allocations: 55.41 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.1609, allocations: 0.866 MB / 0.5627 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1609, allocations: 29.64 kB / 0.5627 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1611, allocations: 228 kB / 0.5629 GB, free: 14.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1611, allocations: 23.91 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.1612, allocations: 21.72 kB / 0.5629 GB, free: 14.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1614, allocations: 366.7 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1615, allocations: 35.97 kB / 0.5633 GB, free: 14.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1616, allocations: 39.97 kB / 0.5634 GB, free: 14.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1619, allocations: 92.72 kB / 0.5635 GB, free: 14.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1619, allocations: 3.938 kB / 0.5635 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003224/0.1622, allocations: 165.5 kB / 0.5636 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1622, allocations: 4 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1622, allocations: 3.984 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1622, allocations: 8 kB / 0.5636 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1624, allocations: 15.98 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1624, allocations: 0 / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.1624, allocations: 11.98 kB / 0.5637 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1625, allocations: 0 / 0.5637 GB, free: 13.97 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: 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.000201/0.1627, allocations: 217.7 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.1627, allocations: 51.64 kB / 0.5639 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.1631, allocations: 181.5 kB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1631, allocations: 0 / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1631, allocations: 4 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1631, allocations: 0 / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.1639, allocations: 0.5217 MB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1639, allocations: 0 / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.164, allocations: 19.98 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.164, allocations: 0 / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.164, allocations: 0 / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.164, allocations: 3.938 kB / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.164, allocations: 0 / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1644, allocations: 263.1 kB / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1645, allocations: 116.8 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1646, allocations: 15.88 kB / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1647, allocations: 11.92 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1647, allocations: 4 kB / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1647, allocations: 4 kB / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006958/0.1654, allocations: 0.655 MB / 0.5657 GB, free: 11.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1654, allocations: 8 kB / 0.5657 GB, free: 11.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1657, allocations: 24 kB / 0.5657 GB, free: 11.78 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: 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.002023/0.1677, allocations: 1.081 MB / 0.5667 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.168, allocations: 91.86 kB / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.168, allocations: 0 / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1681, allocations: 48.06 kB / 0.5669 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1686, allocations: 42.06 kB / 0.5669 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.173, allocations: 3.382 MB / 0.5702 GB, free: 7.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1735, allocations: 0.826 MB / 0.571 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.213e-05/0.1736, allocations: 28.64 kB / 0.5711 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1737, allocations: 119.4 kB / 0.5712 GB, free: 6.18 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1737, allocations: 0 / 0.5712 GB, free: 6.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.2052, allocations: 6.306 MB / 0.5773 GB, free: 15.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/8.871, allocations: 2.5 kB / 0.5773 GB, free: 15.93 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.16773102292791] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.994033955968916 9.011480141 8.852157715 Calling exit ...